diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2009-02-12 14:06:58 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2009-02-12 14:06:58 +0000 |
commit | e7461706402ec2392d45c15ee95764b31683d694 (patch) | |
tree | 5c3c4cec4d52bdceacd1c356eb7a066b233dcbb9 /target/linux/ar71xx/files | |
parent | 823a6a8ad75447a81d0599f098fdc1b9e1161077 (diff) | |
download | upstream-e7461706402ec2392d45c15ee95764b31683d694.tar.gz upstream-e7461706402ec2392d45c15ee95764b31683d694.tar.bz2 upstream-e7461706402ec2392d45c15ee95764b31683d694.zip |
pull ethernet mac out of reset before registering the mdio_bus
SVN-Revision: 14486
Diffstat (limited to 'target/linux/ar71xx/files')
-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 01888f1105..4ff6df8fa2 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; |