]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
phylib: update atheros ar803x phy
authorShengzhou Liu <Shengzhou.Liu@freescale.com>
Thu, 8 Aug 2013 08:33:35 +0000 (16:33 +0800)
committerJoe Hershberger <joe.hershberger@ni.com>
Fri, 22 Nov 2013 20:39:54 +0000 (14:39 -0600)
As AR8031 and AR8033 have same PHY ID 0x4dd074, they use the
common driver. Currently AR8031_driver didn't work for AR8033,
hence updated it to have it work on AR8031/AR8033.

Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com>
drivers/net/phy/atheros.c

index 0f2dfd61262fc2350244aaf81904bb396f092477..7a1453ff3d1541eaabf07a39a346c3f23bd6b82a 100644 (file)
@@ -48,11 +48,11 @@ static struct phy_driver AR8021_driver =  {
 };
 
 static struct phy_driver AR8031_driver =  {
-       .name = "AR8031",
+       .name = "AR8031/AR8033",
        .uid = 0x4dd074,
        .mask = 0xfffff0,
        .features = PHY_GBIT_FEATURES,
-       .config = genphy_config,
+       .config = ar8021_config,
        .startup = genphy_startup,
        .shutdown = genphy_shutdown,
 };