summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2014-01-30 11:02:13 +0100
committerTom Rini <trini@ti.com>2014-02-19 10:47:33 -0500
commit9137d19bdd321b810275f2e967e3a39165a4e8de (patch)
treedee971ef84a345239a65112cc380d18fb0fda98d /drivers
parent95f706271089088cd1359e422d15300009f2b7c6 (diff)
net, phy: atheros ar803x bug
commit 626ee1e3 "phylib: update atheros ar803x phy" leads in failing ethernet on the pxm2 board. Calling genphy_config() instead of ar8021_config(), which seems for ar8021 phys not ar803x phys, make it working again. Signed-off-by: Heiko Schocher <hs@denx.de> Cc: Shengzhou Liu <Shengzhou.Liu@freescale.com> Cc: Joe Hershberger <joe.hershberger@gmail.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/phy/atheros.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/phy/atheros.c b/drivers/net/phy/atheros.c
index 32c2ab9944e..994500b688b 100644
--- a/drivers/net/phy/atheros.c
+++ b/drivers/net/phy/atheros.c
@@ -52,7 +52,7 @@ static struct phy_driver AR8031_driver = {
.uid = 0x4dd074,
.mask = 0xffffffef,
.features = PHY_GBIT_FEATURES,
- .config = ar8021_config,
+ .config = genphy_config,
.startup = genphy_startup,
.shutdown = genphy_shutdown,
};