[PATCH] only show the WAN submenu if WAN is selected

From: Tomas Szepe (szepe@pinerecords.com)
Date: Wed Jan 01 2003 - 09:36:42 EST


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/



This archive was generated by hypermail 2b29 : Tue Jan 07 2003 - 22:00:14 EST