ar71xx: don't assign any MII bus device on QCA9558 by default

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34850
owl
Gabor Juhos 2012-12-22 12:12:43 +00:00
parent 9edcd9d3a3
commit f01a786825
1 changed files with 4 additions and 1 deletions

View File

@ -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;