summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2013-11-02 16:40:42 -0200
committerJoe Hershberger <joe.hershberger@ni.com>2013-11-22 17:03:18 -0600
commite003ba5bfc57ff7d065967e263fa24e3ef28ea0a (patch)
tree52227c969b7595f376bedefd82703a30f92319f1 /drivers
parent317745785341774644b8bb1cbb0300155f31cee6 (diff)
downloadu-boot-imx-e003ba5bfc57ff7d065967e263fa24e3ef28ea0a.zip
u-boot-imx-e003ba5bfc57ff7d065967e263fa24e3ef28ea0a.tar.gz
u-boot-imx-e003ba5bfc57ff7d065967e263fa24e3ef28ea0a.tar.bz2
net: phy: atheros: Fix masks for AR8035 and AR8021
The masks were ignoring the last 4 bits which didn't allow detection differences between the ar8031 and ar8035. Signed-off-by: Jon Nettleton <jon.nettleton@gmail.com> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Patch: 288018
Diffstat (limited to 'drivers')
-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 215658a..b20b4df 100644
--- a/drivers/net/phy/atheros.c
+++ b/drivers/net/phy/atheros.c
@@ -40,7 +40,7 @@ static int ar8035_config(struct phy_device *phydev)
static struct phy_driver AR8021_driver = {
.name = "AR8021",
.uid = 0x4dd040,
- .mask = 0xfffff0,
+ .mask = 0x4fffff,
.features = PHY_GBIT_FEATURES,
.config = ar8021_config,
.startup = genphy_startup,