summaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/atheros.c
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2014-05-15 00:20:54 +0200
committerMarek Vasut <marex@denx.de>2014-05-15 00:20:54 +0200
commit4180b3dba25c2c28cc4502f1c9f1cbad2a9972b8 (patch)
treece2ac59e3f933e6c7f220edf3b14a2e46174ef14 /drivers/net/phy/atheros.c
parentfc25fa27e5f439705e9ca42182014e2d75d9f0ae (diff)
parent2072e7262965bb48d7fffb1e283101e6ed8b21a8 (diff)
downloadu-boot-4180b3dba25c2c28cc4502f1c9f1cbad2a9972b8.tar.gz
u-boot-4180b3dba25c2c28cc4502f1c9f1cbad2a9972b8.tar.xz
u-boot-4180b3dba25c2c28cc4502f1c9f1cbad2a9972b8.zip
Merge remote-tracking branch 'u-boot/master' into test
Diffstat (limited to 'drivers/net/phy/atheros.c')
-rw-r--r--drivers/net/phy/atheros.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/phy/atheros.c b/drivers/net/phy/atheros.c
index abd4e5b463..d509e30d35 100644
--- a/drivers/net/phy/atheros.c
+++ b/drivers/net/phy/atheros.c
@@ -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;
}