projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3177457
)
net: phy: atheros: Fix masks for AR8035 and AR8021
author
Fabio Estevam
<fabio.estevam@freescale.com>
Sat, 2 Nov 2013 18:40:42 +0000
(16:40 -0200)
committer
Joe Hershberger
<joe.hershberger@ni.com>
Fri, 22 Nov 2013 23:03:18 +0000
(17:03 -0600)
The masks were ignoring the last 4 bits which didn't allow detection differences
between the ar8031 and ar8035.
Signed-off-by: Jon Nettleton <jon.nettleton@gmail.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Patch: 288018
drivers/net/phy/atheros.c
patch
|
blob
|
history
diff --git
a/drivers/net/phy/atheros.c
b/drivers/net/phy/atheros.c
index 215658ab286882ee4275b1a61b3a3f590f680104..b20b4df981e21c27417d351723842c084a2dcd42 100644
(file)
--- 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 = 0x
fffff0
,
+ .mask = 0x
4fffff
,
.features = PHY_GBIT_FEATURES,
.config = ar8021_config,
.startup = genphy_startup,