MII: fix Kconfig dependencies for MII
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 14 Sep 2011 21:23:14 +0000 (21:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Sep 2011 19:49:08 +0000 (15:49 -0400)
commitaaba215ca0b4232824c92b830853f465f16a6672
tree2b57eba8cd29aebe377e5c8656d694310421a7fe
parent4f2f25f9f04a92aab31e3bc1dcb84bec33acc773
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>
31 files changed:
arch/cris/arch-v10/drivers/Kconfig
arch/cris/arch-v32/drivers/Kconfig
drivers/net/ethernet/3com/Kconfig
drivers/net/ethernet/Kconfig
drivers/net/ethernet/adaptec/Kconfig
drivers/net/ethernet/adi/Kconfig
drivers/net/ethernet/amd/Kconfig
drivers/net/ethernet/atheros/Kconfig
drivers/net/ethernet/broadcom/Kconfig
drivers/net/ethernet/cadence/Kconfig
drivers/net/ethernet/cirrus/Kconfig
drivers/net/ethernet/davicom/Kconfig
drivers/net/ethernet/dec/tulip/Kconfig
drivers/net/ethernet/dlink/Kconfig
drivers/net/ethernet/faraday/Kconfig
drivers/net/ethernet/freescale/fs_enet/Kconfig
drivers/net/ethernet/icplus/Kconfig
drivers/net/ethernet/intel/Kconfig
drivers/net/ethernet/micrel/Kconfig
drivers/net/ethernet/nuvoton/Kconfig
drivers/net/ethernet/oki-semi/pch_gbe/Kconfig
drivers/net/ethernet/packetengines/Kconfig
drivers/net/ethernet/rdc/Kconfig
drivers/net/ethernet/realtek/Kconfig
drivers/net/ethernet/renesas/Kconfig
drivers/net/ethernet/sgi/Kconfig
drivers/net/ethernet/sis/Kconfig
drivers/net/ethernet/smsc/Kconfig
drivers/net/ethernet/stmicro/stmmac/Kconfig
drivers/net/ethernet/via/Kconfig
drivers/net/usb/Kconfig