]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/net/phy/atheros.c
AR8035/phy: Enable autonegotiation function for ar8035
[karo-tx-uboot.git] / drivers / net / phy / atheros.c
index abd4e5b463eef305438b1f54bcaf729519ff5f58..d509e30d35901505d19966d87f0eaa06a8ea6352 100644 (file)
@@ -31,9 +31,7 @@ static int ar8035_config(struct phy_device *phydev)
        regval = phy_read(phydev, MDIO_DEVAD_NONE, 0x1e);
        phy_write(phydev, MDIO_DEVAD_NONE, 0x1e, (regval|0x0100));
 
-       genphy_config_aneg(phydev);
-
-       phy_reset(phydev);
+       phydev->supported = phydev->drv->features;
 
        return 0;
 }