summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2013-09-22 09:55:49 +0200
committerJoe Hershberger <joe.hershberger@ni.com>2013-11-22 16:50:54 -0600
commitdfcaa61c33e1fc5f737318cfdbcf7f7b49f237a3 (patch)
tree3130d88654ffe354a5e97e8a0fa7e11be0ea89c5
parent65a6691ed3e3396c6aa8b8ca39b9e2631f37a974 (diff)
downloadu-boot-imx-dfcaa61c33e1fc5f737318cfdbcf7f7b49f237a3.zip
u-boot-imx-dfcaa61c33e1fc5f737318cfdbcf7f7b49f237a3.tar.gz
u-boot-imx-dfcaa61c33e1fc5f737318cfdbcf7f7b49f237a3.tar.bz2
net, phy: fix AR8031 phy_mask
AR8035 driver will be never applied because of wrong mask for AR8031 driver. Fix this. Signed-off-by: Heiko Schocher <hs@denx.de> Reported-by: Pavel Nakonechny <pavel.nakonechny@skitlab.ru> Cc: Andy Fleming <afleming@freescale.com> Cc: Joe Hershberger <joe.hershberger@gmail.com> Patch: 276944
-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 7a1453f..f225d93 100644
--- a/drivers/net/phy/atheros.c
+++ b/drivers/net/phy/atheros.c
@@ -50,7 +50,7 @@ static struct phy_driver AR8021_driver = {
static struct phy_driver AR8031_driver = {
.name = "AR8031/AR8033",
.uid = 0x4dd074,
- .mask = 0xfffff0,
+ .mask = 0xffffff,
.features = PHY_GBIT_FEATURES,
.config = ar8021_config,
.startup = genphy_startup,