summaryrefslogtreecommitdiffstats
path: root/drivers/net/Kconfig
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2013-06-18 03:24:51 +0100
committerDavid S. Miller <davem@davemloft.net>2013-06-19 22:22:56 -0700
commita1606c7dc64d8449676d7e840dd2cd0c4e0a0c57 (patch)
tree1026363bee80f664e432a4187c3bd9759a97030e /drivers/net/Kconfig
parent9ef71e0c820987c899e454e2e7ef94bc2d4c8d04 (diff)
downloadlinux-a1606c7dc64d8449676d7e840dd2cd0c4e0a0c57.tar.gz
linux-a1606c7dc64d8449676d7e840dd2cd0c4e0a0c57.tar.bz2
linux-a1606c7dc64d8449676d7e840dd2cd0c4e0a0c57.zip
net: Move MII out from under NET_CORE and hide it
All drivers that select MII also need to select NET_CORE because MII depends on it. This is a bit ridiculous because NET_CORE is just a menu option that doesn't enable any code by itself. There is also no need for it to be a visible option, since its users all select it. Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Acked-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/Kconfig')
-rw-r--r--drivers/net/Kconfig10
1 files changed, 3 insertions, 7 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index 3835321b8cf3..00aba08f01a9 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -25,6 +25,9 @@ menuconfig NETDEVICES
# that for each of the symbols.
if NETDEVICES
+config MII
+ tristate
+
config NET_CORE
default y
bool "Network core driver support"
@@ -100,13 +103,6 @@ config NET_FC
adaptor below. You also should have said Y to "SCSI support" and
"SCSI generic support".
-config MII
- tristate "Generic Media Independent Interface device support"
- help
- Most ethernet controllers have MII transceiver either as an external
- or internal device. It is safe to say Y or M here even if your
- ethernet card lacks MII.
-
config IFB
tristate "Intermediate Functional Block support"
depends on NET_CLS_ACT