[U-Boot] [PATCH] net, phy: fix AR8031 phy_mask
Heiko Schocher
hs at denx.de
Sun Sep 22 09:55:49 CEST 2013
AR8035 driver will be never applied because of wrong mask for
AR8031 driver. Fix this.
Signed-off-by: Heiko Schocher <hs at denx.de>
Reported-by: Pavel Nakonechny <pavel.nakonechny at skitlab.ru>
Cc: Andy Fleming <afleming at freescale.com>
Cc: Joe Hershberger <joe.hershberger at gmail.com>
---
drivers/net/phy/atheros.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/phy/atheros.c b/drivers/net/phy/atheros.c
index 0f2dfd6..ea64041 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",
.uid = 0x4dd074,
- .mask = 0xfffff0,
+ .mask = 0xffffff,
.features = PHY_GBIT_FEATURES,
.config = genphy_config,
.startup = genphy_startup,
--
1.8.3.1
More information about the U-Boot
mailing list