From: Fabio Estevam Date: Sat, 2 Nov 2013 18:40:42 +0000 (-0200) Subject: net: phy: atheros: Fix masks for AR8035 and AR8021 X-Git-Tag: v2014.01-rc1~2^2~8 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e003ba5bfc57ff7d065967e263fa24e3ef28ea0a;p=oweals%2Fu-boot.git 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 Signed-off-by: Fabio Estevam Patch: 288018 --- diff --git a/drivers/net/phy/atheros.c b/drivers/net/phy/atheros.c index 215658ab28..b20b4df981 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,