summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaijun.Zhang <Haijun.Zhang@freescale.com>2014-03-04 15:56:12 +0800
committerTom Rini <trini@ti.com>2014-03-07 10:59:06 -0500
commitdc116bd6c4b5cb1caf6621f282ac5156d1509bef (patch)
tree4fe7ba7b632f94a3a9eeea3e893870f7b67db96a
parentcbac2a6e49d396048bae2c97954e213fb3d2fcb0 (diff)
downloadu-boot-imx-dc116bd6c4b5cb1caf6621f282ac5156d1509bef.zip
u-boot-imx-dc116bd6c4b5cb1caf6621f282ac5156d1509bef.tar.gz
u-boot-imx-dc116bd6c4b5cb1caf6621f282ac5156d1509bef.tar.bz2
net/phy: Correct AR8021 phy_mask
There was wrong phy_mask for AR8021 device, so the AR8021 can't be probed correctly. Changed it from 0x4fffff to 0x4ffff0. Signed-off-by: Haijun Zhang <Haijun.Zhang@freescale.com>
-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 5332e1a..b80980d 100644
--- a/drivers/net/phy/atheros.c
+++ b/drivers/net/phy/atheros.c
@@ -41,7 +41,7 @@ static int ar8035_config(struct phy_device *phydev)
static struct phy_driver AR8021_driver = {
.name = "AR8021",
.uid = 0x4dd040,
- .mask = 0x4fffff,
+ .mask = 0x4ffff0,
.features = PHY_GBIT_FEATURES,
.config = ar8021_config,
.startup = genphy_startup,