Re: [PATCH] 2.5: make gigabit ethernet into a real submenu

Tomas Szepe
2003-01-01T13:24:41Z

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

Only show the 10/100 Mbit Ethernet submenu if the "10/100 Mbit Ethernet"
entry is selected.

--
Tomas Szepe <szepe@pinerecords.com>

diff -urN a/drivers/net/Kconfig b/drivers/net/Kconfig
--- a/drivers/net/Kconfig 2003-01-01 14:10:09.000000000 +0100
+++ b/drivers/net/Kconfig 2003-01-01 14:25:27.000000000 +0100
@@ -148,10 +148,8 @@
# Ethernet
#

-menu "Ethernet (10 or 100Mbit)"
- depends on NETDEVICES
-
config NET_ETHERNET
+ depends on NETDEVICES
bool "Ethernet (10 or 100Mbit)"
---help---
Ethernet (also called IEEE 802.3 or ISO 8802-2) is the most common
@@ -177,6 +175,9 @@
kernel: saying N will just cause the configurator to skip all
the questions about Ethernet network cards. If unsure, say N.

+menu "Ethernet (10 or 100Mbit)"
+ depends on NET_ETHERNET
+
config ARM_AM79C961A
bool "ARM EBSA110 AM79C961A support"
depends on NET_ETHERNET && ARM && ARCH_EBSA110