projects
/
GitHub
/
moto-9609
/
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:
69f3dc3
)
r8169:Fix typo in setting RTL8168H PHY PFM mode.
author
Chun-Hao Lin
<hau@realtek.com>
Tue, 29 Dec 2015 14:13:38 +0000
(22:13 +0800)
committer
David S. Miller
<davem@davemloft.net>
Mon, 4 Jan 2016 21:50:49 +0000
(16:50 -0500)
The PHY PFM register is in PHY page 0x0a44 register 0x11, not 0x14.
Signed-off-by: Chunhao Lin <hau@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/ethernet/realtek/r8169.c
b/drivers/net/ethernet/realtek/r8169.c
index 0decc1b7bafd9abd14d341bd6995d3426b274417..629f5e5ab57693df8650dd3802695f43eeceb4d4 100644
(file)
--- a/
drivers/net/ethernet/realtek/r8169.c
+++ b/
drivers/net/ethernet/realtek/r8169.c
@@
-3894,7
+3894,7
@@
static void rtl8168h_1_hw_phy_config(struct rtl8169_private *tp)
/* disable phy pfm mode */
rtl_writephy(tp, 0x1f, 0x0a44);
- rtl_w0w1_phy(tp, 0x1
4
, 0x0000, 0x0080);
+ rtl_w0w1_phy(tp, 0x1
1
, 0x0000, 0x0080);
rtl_writephy(tp, 0x1f, 0x0000);
/* Check ALDPS bit, disable it if enabled */
@@
-3967,7
+3967,7
@@
static void rtl8168h_2_hw_phy_config(struct rtl8169_private *tp)
/* disable phy pfm mode */
rtl_writephy(tp, 0x1f, 0x0a44);
- rtl_w0w1_phy(tp, 0x1
4
, 0x0000, 0x0080);
+ rtl_w0w1_phy(tp, 0x1
1
, 0x0000, 0x0080);
rtl_writephy(tp, 0x1f, 0x0000);
/* Check ALDPS bit, disable it if enabled */