summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/Kconfig
diff options
context:
space:
mode:
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-09-15 01:23:14 +0400
committerDavid S. Miller <davem@davemloft.net>2011-09-15 23:49:08 +0400
commitaaba215ca0b4232824c92b830853f465f16a6672 (patch)
tree2b57eba8cd29aebe377e5c8656d694310421a7fe /drivers/net/ethernet/Kconfig
parent4f2f25f9f04a92aab31e3bc1dcb84bec33acc773 (diff)
downloadlinux-aaba215ca0b4232824c92b830853f465f16a6672.tar.xz
MII: fix Kconfig dependencies for MII
MII Kconfig option is apart of the core networking drivers and by default NET_CORE is enabled so drivers selecting MII will have MII enabled as well. It was found using the randconfig option during testing, MII would be selected but NET_CORE could be disabled. This caused a dependency error. Resolved the dependency by selecting NET_CORE when MII is selected. Reported-by: Emil Tantilov <emil.s.tantilov@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/Kconfig')
-rw-r--r--drivers/net/ethernet/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/ethernet/Kconfig b/drivers/net/ethernet/Kconfig
index 1f647471e651..6dff5a0e733f 100644
--- a/drivers/net/ethernet/Kconfig
+++ b/drivers/net/ethernet/Kconfig
@@ -62,6 +62,7 @@ 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
@@ -102,6 +103,7 @@ 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
@@ -112,6 +114,7 @@ source "drivers/net/ethernet/8390/Kconfig"
config NET_NETX
tristate "NetX Ethernet support"
+ select NET_CORE
select MII
depends on ARCH_NETX
---help---
@@ -128,6 +131,7 @@ 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