aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/smsc/Kconfig
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/smsc/Kconfig
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/smsc/Kconfig')
-rw-r--r--drivers/net/ethernet/smsc/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/ethernet/smsc/Kconfig b/drivers/net/ethernet/smsc/Kconfig
index f9619285b5ef..1854c88dfb92 100644
--- a/drivers/net/ethernet/smsc/Kconfig
+++ b/drivers/net/ethernet/smsc/Kconfig
@@ -37,6 +37,7 @@ config SMC9194
37config SMC91X 37config SMC91X
38 tristate "SMC 91C9x/91C1xxx support" 38 tristate "SMC 91C9x/91C1xxx support"
39 select CRC32 39 select CRC32
40 select NET_CORE
40 select MII 41 select MII
41 depends on (ARM || M32R || SUPERH || MIPS || BLACKFIN || \ 42 depends on (ARM || M32R || SUPERH || MIPS || BLACKFIN || \
42 MN10300 || COLDFIRE) 43 MN10300 || COLDFIRE)
@@ -56,6 +57,7 @@ config PCMCIA_SMC91C92
56 tristate "SMC 91Cxx PCMCIA support" 57 tristate "SMC 91Cxx PCMCIA support"
57 depends on PCMCIA 58 depends on PCMCIA
58 select CRC32 59 select CRC32
60 select NET_CORE
59 select MII 61 select MII
60 ---help--- 62 ---help---
61 Say Y here if you intend to attach an SMC 91Cxx compatible PCMCIA 63 Say Y here if you intend to attach an SMC 91Cxx compatible PCMCIA
@@ -68,6 +70,7 @@ config EPIC100
68 tristate "SMC EtherPower II" 70 tristate "SMC EtherPower II"
69 depends on PCI 71 depends on PCI
70 select CRC32 72 select CRC32
73 select NET_CORE
71 select MII 74 select MII
72 ---help--- 75 ---help---
73 This driver is for the SMC EtherPower II 9432 PCI Ethernet NIC, 76 This driver is for the SMC EtherPower II 9432 PCI Ethernet NIC,
@@ -78,6 +81,7 @@ config EPIC100
78config SMC911X 81config SMC911X
79 tristate "SMSC LAN911[5678] support" 82 tristate "SMSC LAN911[5678] support"
80 select CRC32 83 select CRC32
84 select NET_CORE
81 select MII 85 select MII
82 depends on (ARM || SUPERH || MN10300) 86 depends on (ARM || SUPERH || MN10300)
83 ---help--- 87 ---help---
@@ -95,6 +99,7 @@ config SMSC911X
95 tristate "SMSC LAN911x/LAN921x families embedded ethernet support" 99 tristate "SMSC LAN911x/LAN921x families embedded ethernet support"
96 depends on (ARM || SUPERH || BLACKFIN || MIPS || MN10300) 100 depends on (ARM || SUPERH || BLACKFIN || MIPS || MN10300)
97 select CRC32 101 select CRC32
102 select NET_CORE
98 select MII 103 select MII
99 select PHYLIB 104 select PHYLIB
100 ---help--- 105 ---help---