]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
r8169: fix wrong eee setting for rlt8111evl
authorhayeswang <hayeswang@realtek.com>
Thu, 13 Oct 2011 20:14:37 +0000 (20:14 +0000)
committerJoe Jin <joe.jin@oracle.com>
Fri, 18 May 2012 02:31:08 +0000 (10:31 +0800)
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>
(cherry picked from commit 1b23a3e3d1b969e285c57a2d38f3739283ecfb80)

Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/r8169.c

index 620c66eccef45e7c8c92adc9b3a5ba6e7c6f579c..66d7123e7c0d75935ddfbdb1206d00596f0ffa89 100644 (file)
@@ -2842,7 +2842,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);