aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/micrel
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/micrel
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/micrel')
-rw-r--r--drivers/net/ethernet/micrel/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/ethernet/micrel/Kconfig b/drivers/net/ethernet/micrel/Kconfig
index bd090dbe3ad6..d10c2e15f4ed 100644
--- a/drivers/net/ethernet/micrel/Kconfig
+++ b/drivers/net/ethernet/micrel/Kconfig
@@ -22,6 +22,7 @@ if NET_VENDOR_MICREL
22config ARM_KS8695_ETHER 22config ARM_KS8695_ETHER
23 tristate "KS8695 Ethernet support" 23 tristate "KS8695 Ethernet support"
24 depends on ARM && ARCH_KS8695 24 depends on ARM && ARCH_KS8695
25 select NET_CORE
25 select MII 26 select MII
26 ---help--- 27 ---help---
27 If you wish to compile a kernel for the KS8695 and want to 28 If you wish to compile a kernel for the KS8695 and want to
@@ -38,6 +39,7 @@ config KS8842
38config KS8851 39config KS8851
39 tristate "Micrel KS8851 SPI" 40 tristate "Micrel KS8851 SPI"
40 depends on SPI 41 depends on SPI
42 select NET_CORE
41 select MII 43 select MII
42 select CRC32 44 select CRC32
43 ---help--- 45 ---help---
@@ -46,6 +48,7 @@ config KS8851
46config KS8851_MLL 48config KS8851_MLL
47 tristate "Micrel KS8851 MLL" 49 tristate "Micrel KS8851 MLL"
48 depends on HAS_IOMEM 50 depends on HAS_IOMEM
51 select NET_CORE
49 select MII 52 select MII
50 ---help--- 53 ---help---
51 This platform driver is for Micrel KS8851 Address/data bus 54 This platform driver is for Micrel KS8851 Address/data bus
@@ -54,6 +57,7 @@ config KS8851_MLL
54config KSZ884X_PCI 57config KSZ884X_PCI
55 tristate "Micrel KSZ8841/2 PCI" 58 tristate "Micrel KSZ8841/2 PCI"
56 depends on PCI 59 depends on PCI
60 select NET_CORE
57 select MII 61 select MII
58 select CRC32 62 select CRC32
59 ---help--- 63 ---help---