Skip to contentSkip to conversation

only show the NET_PCMCIA submenu if NET_PCMCIA is selected

PATCH New Tomas Szepe 1 participant 1 message Jan 1, 2003

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 only show the NET_PCMCIA submenu if NET_PCMCIA is selected

Trivial: This is a follow-up to your "Gigabit Ethernet submenu" precedent.

Only show the NET_PCMCIA submenu if the NET_PCMCIA entry is selected.

Signature · 27 lines
Tomas Szepe <[email protected]>

diff -urN a/drivers/net/pcmcia/Kconfig b/drivers/net/pcmcia/Kconfig
--- a/drivers/net/pcmcia/Kconfig	2002-10-31 02:33:49.000000000 +0100
+++ b/drivers/net/pcmcia/Kconfig	2003-01-01 15:59:44.000000000 +0100
@@ -2,10 +2,8 @@
 # PCMCIA Network device configuration
 #
 
-menu "PCMCIA network device support"
-	depends on NETDEVICES && HOTPLUG && PCMCIA!=n
-
 config NET_PCMCIA
+	depends on NETDEVICES && HOTPLUG && PCMCIA!=n
 	bool "PCMCIA network device support"
 	---help---
 	  Say Y if you would like to include support for any PCMCIA or CardBus
@@ -21,6 +19,9 @@
 
 	  If unsure, say N.
 
+menu "PCMCIA network device support"
+	depends on NET_PCMCIA
+
 config PCMCIA_3C589
 	tristate "3Com 3c589 PCMCIA support"
 	depends on NET_PCMCIA && PCMCIA