瀏覽代碼

[PATCH] yenta: don't depend on CardBus

As a follow-up, we can allow the yenta-driver to be limited to PCMCIA
operation.

Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Dominik Brodowski 20 年之前
父節點
當前提交
89b39f5d8d
共有 2 個文件被更改,包括 2 次插入5 次删除
  1. 2 1
      drivers/pcmcia/Kconfig
  2. 0 4
      drivers/pcmcia/ti113x.h

+ 2 - 1
drivers/pcmcia/Kconfig

@@ -102,7 +102,8 @@ comment "PC-card bridges"
 
 
 config YENTA
 config YENTA
 	tristate "CardBus yenta-compatible bridge support"
 	tristate "CardBus yenta-compatible bridge support"
-	depends on CARDBUS
+	depends on PCI
+	select CARDBUS if !EMBEDDED
 	select PCCARD_NONSTATIC
 	select PCCARD_NONSTATIC
 	---help---
 	---help---
 	  This option enables support for CardBus host bridges.  Virtually
 	  This option enables support for CardBus host bridges.  Virtually

+ 0 - 4
drivers/pcmcia/ti113x.h

@@ -154,8 +154,6 @@
 #define ENE_TEST_C9			0xc9	/* 8bit */
 #define ENE_TEST_C9			0xc9	/* 8bit */
 #define ENE_TEST_C9_TLTENABLE		0x02
 #define ENE_TEST_C9_TLTENABLE		0x02
 
 
-#ifdef CONFIG_CARDBUS
-
 /*
 /*
  * Texas Instruments CardBus controller overrides.
  * Texas Instruments CardBus controller overrides.
  */
  */
@@ -843,7 +841,5 @@ static int ti1250_override(struct yenta_socket *socket)
 	return ti12xx_override(socket);
 	return ti12xx_override(socket);
 }
 }
 
 
-#endif /* CONFIG_CARDBUS */
-
 #endif /* _LINUX_TI113X_H */
 #endif /* _LINUX_TI113X_H */