aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/atheros
diff options
context:
space:
mode:
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-09-14 17:23:14 -0400
committerDavid S. Miller <davem@davemloft.net>2011-09-15 15:49:08 -0400
commitaaba215ca0b4232824c92b830853f465f16a6672 (patch)
tree2b57eba8cd29aebe377e5c8656d694310421a7fe /drivers/net/ethernet/atheros
parent4f2f25f9f04a92aab31e3bc1dcb84bec33acc773 (diff)
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/atheros')
-rw-r--r--drivers/net/ethernet/atheros/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/ethernet/atheros/Kconfig b/drivers/net/ethernet/atheros/Kconfig
index 26ab8cae28b..1ed886d421f 100644
--- a/drivers/net/ethernet/atheros/Kconfig
+++ b/drivers/net/ethernet/atheros/Kconfig
@@ -22,6 +22,7 @@ config ATL2
22 tristate "Atheros L2 Fast Ethernet support" 22 tristate "Atheros L2 Fast Ethernet support"
23 depends on PCI 23 depends on PCI
24 select CRC32 24 select CRC32
25 select NET_CORE
25 select MII 26 select MII
26 ---help--- 27 ---help---
27 This driver supports the Atheros L2 fast ethernet adapter. 28 This driver supports the Atheros L2 fast ethernet adapter.
@@ -33,6 +34,7 @@ config ATL1
33 tristate "Atheros/Attansic L1 Gigabit Ethernet support" 34 tristate "Atheros/Attansic L1 Gigabit Ethernet support"
34 depends on PCI 35 depends on PCI
35 select CRC32 36 select CRC32
37 select NET_CORE
36 select MII 38 select MII
37 ---help--- 39 ---help---
38 This driver supports the Atheros/Attansic L1 gigabit ethernet 40 This driver supports the Atheros/Attansic L1 gigabit ethernet
@@ -45,6 +47,7 @@ config ATL1E
45 tristate "Atheros L1E Gigabit Ethernet support (EXPERIMENTAL)" 47 tristate "Atheros L1E Gigabit Ethernet support (EXPERIMENTAL)"
46 depends on PCI && EXPERIMENTAL 48 depends on PCI && EXPERIMENTAL
47 select CRC32 49 select CRC32
50 select NET_CORE
48 select MII 51 select MII
49 ---help--- 52 ---help---
50 This driver supports the Atheros L1E gigabit ethernet adapter. 53 This driver supports the Atheros L1E gigabit ethernet adapter.
@@ -56,6 +59,7 @@ config ATL1C
56 tristate "Atheros L1C Gigabit Ethernet support (EXPERIMENTAL)" 59 tristate "Atheros L1C Gigabit Ethernet support (EXPERIMENTAL)"
57 depends on PCI && EXPERIMENTAL 60 depends on PCI && EXPERIMENTAL
58 select CRC32 61 select CRC32
62 select NET_CORE
59 select MII 63 select MII
60 ---help--- 64 ---help---
61 This driver supports the Atheros L1C gigabit ethernet adapter. 65 This driver supports the Atheros L1C gigabit ethernet adapter.