diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-12-22 12:12:43 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-12-22 12:12:43 +0000 |
commit | f01a78682568102c4e8e169a9375eaca7eae9c14 (patch) | |
tree | 0c0be3860f2cff1b553cd0b4ab4d1314fc3ec457 /target/linux/ar71xx/files | |
parent | 9edcd9d3a3da8470c006488ab599e560a596b548 (diff) | |
download | upstream-f01a78682568102c4e8e169a9375eaca7eae9c14.tar.gz upstream-f01a78682568102c4e8e169a9375eaca7eae9c14.tar.bz2 upstream-f01a78682568102c4e8e169a9375eaca7eae9c14.zip |
ar71xx: don't assign any MII bus device on QCA9558 by default
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34850
Diffstat (limited to 'target/linux/ar71xx/files')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c b/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c index 5a0b950c1b..02c374a984 100644 --- a/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c +++ b/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c @@ -943,7 +943,6 @@ void __init ath79_register_eth(unsigned int id) case ATH79_SOC_AR9341: case ATH79_SOC_AR9342: case ATH79_SOC_AR9344: - case ATH79_SOC_QCA9558: if (id == 0) pdata->mii_bus_dev = &ath79_mdio0_device.dev; else @@ -956,6 +955,10 @@ void __init ath79_register_eth(unsigned int id) pdata->mii_bus_dev = &ath79_mdio1_device.dev; break; + case ATH79_SOC_QCA9558: + /* don't assign any MDIO device by default */ + break; + default: pdata->mii_bus_dev = &ath79_mdio0_device.dev; break; |