[PATCH] uml: kconfigs
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 31 Mar 2006 10:30:14 +0000 (02:30 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 31 Mar 2006 20:18:51 +0000 (12:18 -0800)
kconfig sanitized around drivers/net

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/um/Kconfig
drivers/net/Kconfig
drivers/net/tokenring/Kconfig
drivers/net/wireless/Kconfig

index 5982fe2753e0286382aa07ba35ba831b98cb2285..05fbb20636cbe0126b1c86d6f02e5987533e6e82 100644 (file)
@@ -22,6 +22,9 @@ config SBUS
 config PCI
        bool
 
+config PCMCIA
+       bool
+
 config GENERIC_CALIBRATE_DELAY
        bool
        default y
index e20b849a22e8e59a4f3fb06304b1f190d840c050..bdaaad8f2123d5410c1985ceb526e200bb1958e6 100644 (file)
@@ -2313,13 +2313,11 @@ config S2IO_NAPI
 
 endmenu
 
-if !UML
 source "drivers/net/tokenring/Kconfig"
 
 source "drivers/net/wireless/Kconfig"
 
 source "drivers/net/pcmcia/Kconfig"
-endif
 
 source "drivers/net/wan/Kconfig"
 
index e4cfc80b283b74a4ead414593340520f5be9554c..99c4c1922f190f2bd9d81025ad0697c3dc939347 100644 (file)
@@ -3,7 +3,7 @@
 #
 
 menu "Token Ring devices"
-       depends on NETDEVICES
+       depends on NETDEVICES && !UML
 
 # So far, we only have PCI, ISA, and MCA token ring devices
 config TR
index f85e301900088ac69cfe2c50ee37a0c26e91c151..bad09ebdb50b9622d6b635a9301a886d98d878f5 100644 (file)
@@ -356,7 +356,7 @@ config PCI_HERMES
 
 config ATMEL
       tristate "Atmel at76c50x chipset  802.11b support"
-      depends on NET_RADIO
+      depends on NET_RADIO && (PCI || PCMCIA)
       select FW_LOADER
       select CRC32
        ---help---