summaryrefslogtreecommitdiff
path: root/drivers/net/Kconfig
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2013-06-18 06:24:51 +0400
committerDavid S. Miller <davem@davemloft.net>2013-06-20 09:22:56 +0400
commita1606c7dc64d8449676d7e840dd2cd0c4e0a0c57 (patch)
tree1026363bee80f664e432a4187c3bd9759a97030e /drivers/net/Kconfig
parent9ef71e0c820987c899e454e2e7ef94bc2d4c8d04 (diff)
downloadlinux-a1606c7dc64d8449676d7e840dd2cd0c4e0a0c57.tar.xz
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