[PATCH] only show arcnet submenu if arcnet is selected

Tomas Szepe (szepe@pinerecords.com)
Wed, 1 Jan 2003 14:47:17 +0100


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

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

-- 
Tomas Szepe <szepe@pinerecords.com>

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 - 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/