projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
324857c
)
net:phy:motorcomm: change tx delay chain.
author
samin
<samin.guo@starfivetech.com>
Mon, 23 May 2022 10:47:18 +0000
(18:47 +0800)
committer
samin
<samin.guo@starfivetech.com>
Mon, 23 May 2022 11:35:26 +0000
(19:35 +0800)
Improve compatibility of YT8521SC and YT8521SH in rgmii mode.
Signed-off-by: samin <samin.guo@starfivetech.com>
drivers/net/phy/motorcomm.c
patch
|
blob
|
history
diff --git
a/drivers/net/phy/motorcomm.c
b/drivers/net/phy/motorcomm.c
index
44cb773
..
78a2323
100644
(file)
--- a/
drivers/net/phy/motorcomm.c
+++ b/
drivers/net/phy/motorcomm.c
@@
-379,7
+379,7
@@
static int yt8521_config_init(struct phy_device *phydev)
}
val &= ~0x3CFF;
- val |= 0x5
f
;
+ val |= 0x5
b
;
ret = ytphy_write_ext(phydev, 0xa003, val);
if (ret < 0) {
printk(KERN_INFO "yt8521_config: set 0xa003 error!\n");