summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorhayeswang <hayeswang@realtek.com>2011-10-13 20:14:37 +0000
committerDavid S. Miller <davem@davemloft.net>2011-10-19 18:48:17 -0400
commit1b23a3e3d1b969e285c57a2d38f3739283ecfb80 (patch)
tree62db8c55d2843d1ddd5cd97e33ec2facd55612e0 /drivers
parent649b3b8c4e8681de443b4dc9e387c3036369e02e (diff)
downloadlinux-stable-1b23a3e3d1b969e285c57a2d38f3739283ecfb80.tar.gz
linux-stable-1b23a3e3d1b969e285c57a2d38f3739283ecfb80.tar.bz2
linux-stable-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 'drivers')
-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);