net: phy: atheros: Fix masks for AR8035 and AR8021
Subsystems (2)
PATCH 1/1 net: phy: atheros: Fix masks for AR8035 and AR8021
From: Fabio Estevam <[email protected]>
The masks were ignoring the last 4 bits which didn't allow detection differences between the ar8031 and ar8035.
Signed-off-by Jon Nettleton <[email protected]>
Signed-off-by Fabio Estevam <[email protected]>
---
This patch allows Ethernet to work on Solid Run Carrier1 board.
drivers/net/phy/atheros.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/phy/atheros.c +2 -2
@@ -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,
@@ -50,7 +50,7 @@ static struct phy_driver AR8021_driver = {static struct phy_driver AR8031_driver = { .name ="AR8031" , .uid =0x4dd074 , - .mask =0xfffff0 , + .mask =0x4fffff , .features =PHY_GBIT_FEATURES , .config = genphy_config, .startup = genphy_startup,
Signature · 1 line
1.8.1.2