summaryrefslogtreecommitdiffstats
path: root/drivers/net/r8169.c
diff options
context:
space:
mode:
authorfrançois romieu <romieu@fr.zoreil.com>2009-08-10 19:45:48 +0000
committerDavid S. Miller <davem@davemloft.net>2009-08-12 22:13:23 -0700
commit85910a8e9f425656bb7202d0fc62800000ffa262 (patch)
treec84ac9c23261c988922412c7d32b28b7dbe5fcb8 /drivers/net/r8169.c
parent0b9b571d246d1c2621a5e4e5a0fa5cb95e18365d (diff)
downloadop-kernel-dev-85910a8e9f425656bb7202d0fc62800000ffa262.zip
op-kernel-dev-85910a8e9f425656bb7202d0fc62800000ffa262.tar.gz
r8169: phy init for the 8102e
Synced with Realtek's 1.013.00 r8101 driver. Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Cc: Edward Hsu <edward_hsu@realtek.com.tw> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/r8169.c')
-rw-r--r--drivers/net/r8169.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c
index 93a87aa..8cd85309 100644
--- a/drivers/net/r8169.c
+++ b/drivers/net/r8169.c
@@ -1729,6 +1729,7 @@ static void rtl8102e_hw_phy_config(void __iomem *ioaddr)
mdio_write(ioaddr, 0x1f, 0x0000);
mdio_patch(ioaddr, 0x11, 1 << 12);
mdio_patch(ioaddr, 0x19, 1 << 13);
+ mdio_patch(ioaddr, 0x10, 1 << 15);
rtl_phy_write(ioaddr, phy_reg_init, ARRAY_SIZE(phy_reg_init));
}
OpenPOWER on IntegriCloud