[PATCH] yenta: don't depend on CardBus
authorDominik Brodowski <linux@dominikbrodowski.net>
Fri, 8 Jul 2005 00:59:09 +0000 (17:59 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 8 Jul 2005 01:24:07 +0000 (18:24 -0700)
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>
drivers/pcmcia/Kconfig
drivers/pcmcia/ti113x.h

index bb4dd2735d7035d654ac52f8c6b9098f1c095601..6485f75d2fb3beff9d80880ab354c57a5d3dde42 100644 (file)
@@ -102,7 +102,8 @@ comment "PC-card bridges"
 
 config YENTA
        tristate "CardBus yenta-compatible bridge support"
-       depends on CARDBUS
+       depends on PCI
+       select CARDBUS if !EMBEDDED
        select PCCARD_NONSTATIC
        ---help---
          This option enables support for CardBus host bridges.  Virtually
index c7ba99871aca05ef2d51f9e5fdd43144c60bd544..fbe233e19cebb285d620363c42d730b32c5a729b 100644 (file)
 #define ENE_TEST_C9                    0xc9    /* 8bit */
 #define ENE_TEST_C9_TLTENABLE          0x02
 
-#ifdef CONFIG_CARDBUS
-
 /*
  * Texas Instruments CardBus controller overrides.
  */
@@ -843,7 +841,5 @@ static int ti1250_override(struct yenta_socket *socket)
        return ti12xx_override(socket);
 }
 
-#endif /* CONFIG_CARDBUS */
-
 #endif /* _LINUX_TI113X_H */