summaryrefslogtreecommitdiffstats
path: root/drivers/net/Kconfig
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2013-06-17 22:24:51 -0400
committerDavid S. Miller <davem@davemloft.net>2013-06-20 01:22:56 -0400
commita1606c7dc64d8449676d7e840dd2cd0c4e0a0c57 (patch)
tree1026363bee80f664e432a4187c3bd9759a97030e /drivers/net/Kconfig
parent9ef71e0c820987c899e454e2e7ef94bc2d4c8d04 (diff)
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
25# that for each of the symbols. 25# that for each of the symbols.
26if NETDEVICES 26if NETDEVICES
27 27
28config MII
29 tristate
30
28config NET_CORE 31config NET_CORE
29 default y 32 default y
30 bool "Network core driver support" 33 bool "Network core driver support"
@@ -100,13 +103,6 @@ config NET_FC
100 adaptor below. You also should have said Y to "SCSI support" and 103 adaptor below. You also should have said Y to "SCSI support" and
101 "SCSI generic support". 104 "SCSI generic support".
102 105
103config MII
104 tristate "Generic Media Independent Interface device support"
105 help
106 Most ethernet controllers have MII transceiver either as an external
107 or internal device. It is safe to say Y or M here even if your
108 ethernet card lacks MII.
109
110config IFB 106config IFB
111 tristate "Intermediate Functional Block support" 107 tristate "Intermediate Functional Block support"
112 depends on NET_CLS_ACT 108 depends on NET_CLS_ACT