summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Walle <michael@walle.cc>2020-05-07 00:11:53 +0200
committerTom Rini <trini@konsulko.com>2020-05-07 11:05:00 -0400
commitf4d48f43b29756dac0f306eec3ca7ddf2821dd4e (patch)
tree2fb82e2efb5f6edf022f34b1671b99604093ba3a
parent4d4e4cf7798276bcb047b65cf80fde63fd347903 (diff)
downloadu-boot-f4d48f43b29756dac0f306eec3ca7ddf2821dd4e.tar.gz
phy: atheros: fix AR8021 PHY ID mask
The upper bits are all the OUI. Signed-off-by: Michael Walle <michael@walle.cc> Acked-by: Joe Hershberger <joe.hershberger@ni.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 3cc162828c..01953a1390 100644
--- a/drivers/net/phy/atheros.c
+++ b/drivers/net/phy/atheros.c
@@ -120,7 +120,7 @@ static int ar8035_config(struct phy_device *phydev)
static struct phy_driver AR8021_driver = {
.name = "AR8021",
.uid = 0x4dd040,
- .mask = 0x4ffff0,
+ .mask = 0xfffffff0,
.features = PHY_GBIT_FEATURES,
.config = ar8021_config,
.startup = genphy_startup,