1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

[ar71xx] pull ethernet mac out of reset before registering the mdio_bus

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14486 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg
2009-02-12 14:06:58 +00:00
parent 17a8d866d1
commit d72c973763
2 changed files with 22 additions and 4 deletions

View File

@@ -170,6 +170,8 @@ static int __init ag71xx_mdio_probe(struct platform_device *pdev)
for (i = 0; i < PHY_MAX_ADDR; i++)
am->mii_irq[i] = PHY_POLL;
ag71xx_mdio_wr(am, AG71XX_REG_MAC_CFG1, 0);
err = mdiobus_register(&am->mii_bus);
if (err)
goto err_iounmap;