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

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


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

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

-- 
Tomas Szepe <szepe@pinerecords.com>

diff -urN a/drivers/net/tokenring/Kconfig b/drivers/net/tokenring/Kconfig --- a/drivers/net/tokenring/Kconfig 2002-12-08 20:06:34.000000000 +0100 +++ b/drivers/net/tokenring/Kconfig 2003-01-01 15:23:10.000000000 +0100 @@ -2,13 +2,10 @@ # Token Ring driver configuration # -menu "Token Ring devices (depends on LLC=y)" - depends on NETDEVICES - # So far, we only have PCI, ISA, and MCA token ring devices config TR - bool "Token Ring driver support" - depends on (PCI || ISA || MCA) && LLC=y + depends on (PCI || ISA || MCA) && NETDEVICES && LLC=y + bool "Token Ring driver support (depends on LLC=y)" help Token Ring is IBM's way of communication on a local network; the rest of the world uses Ethernet. To participate on a Token Ring @@ -19,6 +16,9 @@ from <http://www.linuxdoc.org/docs.html#howto>. Most people can say N here. +menu "Token Ring devices" + depends on TR + config IBMTR tristate "IBM Tropic chipset based adapter support" depends on TR && (ISA || MCA) - 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