summaryrefslogtreecommitdiff
path: root/drivers/net/phy/atheros.c
diff options
context:
space:
mode:
authorZhao Qiang <B45475@freescale.com>2014-04-21 10:29:24 +0800
committerYork Sun <yorksun@freescale.com>2014-04-22 17:58:53 -0700
commit08ad9b068afb8842df4cd559c327f54a42811a8d (patch)
treeafdf2e733c8e1cdfed30fe20d6868ef1cd8b9d80 /drivers/net/phy/atheros.c
parentb6036993ebf12d360692a7df227537277afe3a1f (diff)
downloadu-boot-imx-08ad9b068afb8842df4cd559c327f54a42811a8d.zip
u-boot-imx-08ad9b068afb8842df4cd559c327f54a42811a8d.tar.gz
u-boot-imx-08ad9b068afb8842df4cd559c327f54a42811a8d.tar.bz2
ar8031: modify the config func of ar8031 to ar8021_config
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>
Diffstat (limited to 'drivers/net/phy/atheros.c')
-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 b80980d..abd4e5b 100644
--- a/drivers/net/phy/atheros.c
+++ b/drivers/net/phy/atheros.c
@@ -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,
};