projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b04a2f5
)
net: phy: bcm7xxx: add an explicit version check for GPHY rev G0
author
Florian Fainelli
<f.fainelli@gmail.com>
Wed, 3 Dec 2014 17:57:00 +0000
(09:57 -0800)
committer
David S. Miller
<davem@davemloft.net>
Tue, 9 Dec 2014 02:33:29 +0000
(21:33 -0500)
GPHY revision G0 has its version rolled over to 0x10, introduce an
explicit check for that revision and invoke the proper workaround
function for it.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/bcm7xxx.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/phy/bcm7xxx.c
b/drivers/net/phy/bcm7xxx.c
index 7a53af4346e4975b1a87ab9e288b211cf17e6eb8..974ec45152697a8dc6dfc93c0bb40b7852bae41c 100644
(file)
--- a/
drivers/net/phy/bcm7xxx.c
+++ b/
drivers/net/phy/bcm7xxx.c
@@
-252,6
+252,8
@@
static int bcm7xxx_28nm_config_init(struct phy_device *phydev)
break;
case 0xe0:
case 0xf0:
+ /* Rev G0 introduces a roll over */
+ case 0x10:
ret = bcm7xxx_28nm_e0_plus_afe_config_init(phydev);
break;
default: