lkml.org 
[lkml]   [2003]   [Jan]   [1]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateWed, 1 Jan 2003 15:36:42 +0100
FromTomas Szepe <>
Subject[PATCH] only show the WAN submenu if WAN is selected
Trivial: This is a follow-up to your "Gigabit Ethernet submenu" precedent.

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

-- 
Tomas Szepe <szepe@pinerecords.com>

diff -urN a/drivers/net/wan/Kconfig b/drivers/net/wan/Kconfig
--- a/drivers/net/wan/Kconfig	2002-10-31 02:33:49.000000000 +0100
+++ b/drivers/net/wan/Kconfig	2003-01-01 15:33:21.000000000 +0100
@@ -2,10 +2,8 @@
 # wan devices configuration
 #
 
-menu "Wan interfaces"
-	depends on NETDEVICES
-
 config WAN
+	depends on NETDEVICES
 	bool "Wan interfaces support"
 	---help---
 	  Wide Area Networks (WANs), such as X.25, frame relay and leased
@@ -22,6 +20,9 @@
 
 	  If unsure, say N.
 
+menu "Wan interfaces"
+	depends on WAN
+
 # There is no way to detect a comtrol sv11 - force it modular for now.
 config HOSTESS_SV11
 	tristate "Comtrol Hostess SV-11 support"
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 12:32    [from the cache]
©2003-2008