summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorShengzhou Liu <Shengzhou.Liu@freescale.com>2013-08-08 16:33:35 +0800
committerJoe Hershberger <joe.hershberger@ni.com>2013-11-22 14:39:54 -0600
commit626ee1e32eeb4fc89e0f406d6067ed6e71d8302f (patch)
treedbaaf96f1fbbc767c38fbc9ce7d51a9c828f2663 /drivers/net
parentf754f5dc6fe4b6cfbd28a9a6d9d08059d9312101 (diff)
downloadblackbird-obmc-uboot-626ee1e32eeb4fc89e0f406d6067ed6e71d8302f.tar.gz
blackbird-obmc-uboot-626ee1e32eeb4fc89e0f406d6067ed6e71d8302f.zip
phylib: update atheros ar803x phy
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>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/phy/atheros.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/phy/atheros.c b/drivers/net/phy/atheros.c
index 0f2dfd6126..7a1453ff3d 100644
--- a/drivers/net/phy/atheros.c
+++ b/drivers/net/phy/atheros.c
@@ -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,
};
OpenPOWER on IntegriCloud