[ar71xx] pull ethernet mac out of reset before registering the mdio_bus
[openwrt.git] / target / linux / ar71xx / files / drivers / net / ag71xx / ag71xx_mdio.c
index 01888f1..4ff6df8 100644 (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;
This page took 0.027801 seconds and 4 git commands to generate.