]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
net, phy: atheros ar803x bug
authorHeiko Schocher <hs@denx.de>
Thu, 30 Jan 2014 10:02:13 +0000 (11:02 +0100)
committerTom Rini <trini@ti.com>
Wed, 19 Feb 2014 15:47:33 +0000 (10:47 -0500)
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>
drivers/net/phy/atheros.c

index 32c2ab9944e1dfd15cf2153a55c9035d7444589c..994500b688bd45b24cc3b288ea4f6ca064c49393 100644 (file)
@@ -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,
 };