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/cadence | |
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/cadence')
-rw-r--r-- | drivers/net/ethernet/cadence/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/cadence/Kconfig b/drivers/net/ethernet/cadence/Kconfig index c00e706ab58a..98849a1fc749 100644 --- a/drivers/net/ethernet/cadence/Kconfig +++ b/drivers/net/ethernet/cadence/Kconfig | |||
@@ -25,6 +25,7 @@ if NET_ATMEL | |||
25 | config ARM_AT91_ETHER | 25 | config ARM_AT91_ETHER |
26 | tristate "AT91RM9200 Ethernet support" | 26 | tristate "AT91RM9200 Ethernet support" |
27 | depends on ARM && ARCH_AT91RM9200 | 27 | depends on ARM && ARCH_AT91RM9200 |
28 | select NET_CORE | ||
28 | select MII | 29 | select MII |
29 | ---help--- | 30 | ---help--- |
30 | If you wish to compile a kernel for the AT91RM9200 and enable | 31 | If you wish to compile a kernel for the AT91RM9200 and enable |