diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-02-12 14:06:58 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-02-12 14:06:58 +0000 |
commit | d72c973763a344ea3ba50b7e151716409ed095a3 (patch) | |
tree | 055d3cfbf71a8a53d81c0496408902938c54da4b /target/linux/ar71xx/files/drivers | |
parent | 17a8d866d1db9e4573fc6a532e7522cd2d8e96dd (diff) |
[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
Diffstat (limited to 'target/linux/ar71xx/files/drivers')
-rw-r--r-- | target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_mdio.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_mdio.c b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_mdio.c index 01888f110..4ff6df8fa 100644 --- a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_mdio.c +++ b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_mdio.c @@ -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; |