]> git.sur5r.net Git - u-boot/commitdiff
ar8031: modify the config func of ar8031 to ar8021_config
authorZhao Qiang <B45475@freescale.com>
Mon, 21 Apr 2014 02:29:24 +0000 (10:29 +0800)
committerYork Sun <yorksun@freescale.com>
Wed, 23 Apr 2014 00:58:53 +0000 (17:58 -0700)
ar8031 has the same config steps with ar8021, so change its
config func to ar8021_config instead of genphy_config.

Signed-off-by: Zhao Qiang <B45475@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
drivers/net/phy/atheros.c

index b80980d5524e811d310fffa99cf226465f3d787d..abd4e5b463eef305438b1f54bcaf729519ff5f58 100644 (file)
@@ -53,7 +53,7 @@ static struct phy_driver AR8031_driver =  {
        .uid = 0x4dd074,
        .mask = 0xffffffef,
        .features = PHY_GBIT_FEATURES,
-       .config = genphy_config,
+       .config = ar8021_config,
        .startup = genphy_startup,
        .shutdown = genphy_shutdown,
 };