summaryrefslogtreecommitdiffstats
path: root/drivers/net/r8169.c
diff options
context:
space:
mode:
authorhayeswang <hayeswang@realtek.com>2011-10-13 22:14:37 +0200
committerDavid S. Miller <davem@davemloft.net>2011-10-20 00:48:17 +0200
commit1b23a3e3d1b969e285c57a2d38f3739283ecfb80 (patch)
tree62db8c55d2843d1ddd5cd97e33ec2facd55612e0 /drivers/net/r8169.c
parentr8169: fix driver shutdown WoL regression. (diff)
downloadlinux-1b23a3e3d1b969e285c57a2d38f3739283ecfb80.tar.xz
linux-1b23a3e3d1b969e285c57a2d38f3739283ecfb80.zip
r8169: fix wrong eee setting for rlt8111evl
Correct the wrong parameter for setting EEE for RTL8111E-VL. Signed-off-by: Hayes Wang <hayeswang@realtek.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--drivers/net/r8169.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c
index 24219ec0de13..6d657cabb951 100644
--- a/drivers/net/r8169.c
+++ b/drivers/net/r8169.c
@@ -2859,7 +2859,7 @@ static void rtl8168e_2_hw_phy_config(struct rtl8169_private *tp)
rtl_writephy(tp, 0x1f, 0x0004);
rtl_writephy(tp, 0x1f, 0x0007);
rtl_writephy(tp, 0x1e, 0x0020);
- rtl_w1w0_phy(tp, 0x06, 0x0000, 0x0100);
+ rtl_w1w0_phy(tp, 0x15, 0x0000, 0x0100);
rtl_writephy(tp, 0x1f, 0x0002);
rtl_writephy(tp, 0x1f, 0x0000);
rtl_writephy(tp, 0x0d, 0x0007);