Skip to contentSkip to conversation

only show arcnet submenu if arcnet 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 arcnet submenu if arcnet is selected

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

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

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

diff -urN a/drivers/net/arcnet/Kconfig b/drivers/net/arcnet/Kconfig
--- a/drivers/net/arcnet/Kconfig	2002-10-31 02:33:49.000000000 +0100
+++ b/drivers/net/arcnet/Kconfig	2003-01-01 14:43:32.000000000 +0100
@@ -2,10 +2,8 @@
 # Arcnet configuration
 #
 
-menu "ARCnet devices"
-	depends on NETDEVICES
-
 config ARCNET
+	depends on NETDEVICES
 	tristate "ARCnet support"
 	---help---
 	  If you have a network card of this type, say Y and check out the
@@ -27,6 +25,9 @@
 	  module, say M here and read <file:Documentation/modules.txt> as well
 	  as <file:Documentation/networking/net-modules.txt>.
 
+menu "ARCnet devices"
+	depends on ARCNET
+
 config ARCNET_1201
 	tristate "Enable standard ARCNet packet format (RFC 1201)"
 	depends on ARCNET