Merge branch 'master' of git://git.denx.de/u-boot-atmel
[oweals/u-boot.git] / drivers / net / phy / atheros.c
index d509e30d35901505d19966d87f0eaa06a8ea6352..e57c4120a3e5b4a55f2b53e110bac70a857a39b8 100644 (file)
@@ -33,6 +33,9 @@ static int ar8035_config(struct phy_device *phydev)
 
        phydev->supported = phydev->drv->features;
 
+       genphy_config_aneg(phydev);
+       genphy_restart_aneg(phydev);
+
        return 0;
 }
 
@@ -51,7 +54,7 @@ static struct phy_driver AR8031_driver =  {
        .uid = 0x4dd074,
        .mask = 0xffffffef,
        .features = PHY_GBIT_FEATURES,
-       .config = ar8021_config,
+       .config = ar8035_config,
        .startup = genphy_startup,
        .shutdown = genphy_shutdown,
 };