Patchwork [U-Boot,v1,2/5] net: fix mask for phy Micrel KSZ9031

login
register
mail settings
Submitter Stefano Babic
Date Sept. 2, 2013, 1:42 p.m.
Message ID <1378129352-5668-3-git-send-email-sbabic@denx.de>
Download mbox | patch
Permalink /patch/271943/
State Accepted
Delegated to: Joe Hershberger
Headers show

Comments

Stefano Babic - Sept. 2, 2013, 1:42 p.m.
Signed-off-by: Stefano Babic <sbabic@denx.de>
---
 drivers/net/phy/micrel.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/drivers/net/phy/micrel.c b/drivers/net/phy/micrel.c
index a7450f8..f3e3054 100644
--- a/drivers/net/phy/micrel.c
+++ b/drivers/net/phy/micrel.c
@@ -174,7 +174,7 @@  int ksz9031_phy_extended_read(struct phy_device *phydev, int devaddr,
 static struct phy_driver ksz9031_driver = {
 	.name = "Micrel ksz9031",
 	.uid  = 0x221620,
-	.mask = 0xfffffe,
+	.mask = 0xfffff0,
 	.features = PHY_GBIT_FEATURES,
 	.config   = &genphy_config,
 	.startup  = &ksz90xx_startup,