mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 20:22:27 +02:00
ar71xx: don't assign any MII bus device on QCA9558 by default
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34850 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
661316a678
commit
e52fbd2289
@ -943,7 +943,6 @@ void __init ath79_register_eth(unsigned int id)
|
|||||||
case ATH79_SOC_AR9341:
|
case ATH79_SOC_AR9341:
|
||||||
case ATH79_SOC_AR9342:
|
case ATH79_SOC_AR9342:
|
||||||
case ATH79_SOC_AR9344:
|
case ATH79_SOC_AR9344:
|
||||||
case ATH79_SOC_QCA9558:
|
|
||||||
if (id == 0)
|
if (id == 0)
|
||||||
pdata->mii_bus_dev = &ath79_mdio0_device.dev;
|
pdata->mii_bus_dev = &ath79_mdio0_device.dev;
|
||||||
else
|
else
|
||||||
@ -956,6 +955,10 @@ void __init ath79_register_eth(unsigned int id)
|
|||||||
pdata->mii_bus_dev = &ath79_mdio1_device.dev;
|
pdata->mii_bus_dev = &ath79_mdio1_device.dev;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case ATH79_SOC_QCA9558:
|
||||||
|
/* don't assign any MDIO device by default */
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
pdata->mii_bus_dev = &ath79_mdio0_device.dev;
|
pdata->mii_bus_dev = &ath79_mdio0_device.dev;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user