Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a1606c7d authored by Ben Hutchings's avatar Ben Hutchings Committed by David S. Miller
Browse files

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: default avatarBen Hutchings <ben@decadent.org.uk>
Acked-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9ef71e0c
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -4,7 +4,6 @@ config ETRAX_ETHERNET
	bool "Ethernet support"
	depends on ETRAX_ARCH_V10
	select ETHERNET
	select NET_CORE
	select MII
	help
	  This option enables the ETRAX 100LX built-in 10/100Mbit Ethernet
+0 −1
Original line number Diff line number Diff line
@@ -4,7 +4,6 @@ config ETRAX_ETHERNET
	bool "Ethernet support"
	depends on ETRAX_ARCH_V32
	select ETHERNET
	select NET_CORE
	select MII
	help
	  This option enables the ETRAX FS built-in 10/100Mbit Ethernet
+3 −7
Original line number Diff line number Diff line
@@ -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
+0 −1
Original line number Diff line number Diff line
@@ -67,7 +67,6 @@ config PCMCIA_3C589
config VORTEX
	tristate "3c590/3c900 series (592/595/597) \"Vortex/Boomerang\" support"
	depends on (PCI || EISA) && HAS_IOPORT
	select NET_CORE
	select MII
	---help---
	  This option enables driver support for a large number of 10Mbps and
+0 −4
Original line number Diff line number Diff line
@@ -64,7 +64,6 @@ config JME
	tristate "JMicron(R) PCI-Express Gigabit Ethernet support"
	depends on PCI
	select CRC32
	select NET_CORE
	select MII
	---help---
	  This driver supports the PCI-Express gigabit ethernet adapters
@@ -96,7 +95,6 @@ config FEALNX
	tristate "Myson MTD-8xx PCI Ethernet support"
	depends on PCI
	select CRC32
	select NET_CORE
	select MII
	---help---
	  Say Y here to support the Myson MTD-800 family of PCI-based Ethernet
@@ -107,7 +105,6 @@ source "drivers/net/ethernet/8390/Kconfig"

config NET_NETX
	tristate "NetX Ethernet support"
	select NET_CORE
	select MII
	depends on ARCH_NETX
	---help---
@@ -125,7 +122,6 @@ source "drivers/net/ethernet/oki-semi/Kconfig"
config ETHOC
	tristate "OpenCores 10/100 Mbps Ethernet MAC support"
	depends on HAS_IOMEM && HAS_DMA
	select NET_CORE
	select MII
	select PHYLIB
	select CRC32
Loading