diff options
author | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-09-14 17:23:14 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-09-15 15:49:08 -0400 |
commit | aaba215ca0b4232824c92b830853f465f16a6672 (patch) | |
tree | 2b57eba8cd29aebe377e5c8656d694310421a7fe /drivers/net/ethernet/broadcom/Kconfig | |
parent | 4f2f25f9f04a92aab31e3bc1dcb84bec33acc773 (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/broadcom/Kconfig')
-rw-r--r-- | drivers/net/ethernet/broadcom/Kconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/Kconfig b/drivers/net/ethernet/broadcom/Kconfig index d82ad221ebd4..f15e72e81ac4 100644 --- a/drivers/net/ethernet/broadcom/Kconfig +++ b/drivers/net/ethernet/broadcom/Kconfig | |||
@@ -22,6 +22,7 @@ config B44 | |||
22 | tristate "Broadcom 440x/47xx ethernet support" | 22 | tristate "Broadcom 440x/47xx ethernet support" |
23 | depends on SSB_POSSIBLE && HAS_DMA | 23 | depends on SSB_POSSIBLE && HAS_DMA |
24 | select SSB | 24 | select SSB |
25 | select NET_CORE | ||
25 | select MII | 26 | select MII |
26 | ---help--- | 27 | ---help--- |
27 | If you have a network (Ethernet) controller of this type, say Y | 28 | If you have a network (Ethernet) controller of this type, say Y |
@@ -53,6 +54,7 @@ config B44_PCI | |||
53 | config BCM63XX_ENET | 54 | config BCM63XX_ENET |
54 | tristate "Broadcom 63xx internal mac support" | 55 | tristate "Broadcom 63xx internal mac support" |
55 | depends on BCM63XX | 56 | depends on BCM63XX |
57 | select NET_CORE | ||
56 | select MII | 58 | select MII |
57 | select PHYLIB | 59 | select PHYLIB |
58 | help | 60 | help |