]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
r8169: phy init for the 8102e
authorfrançois romieu <romieu@fr.zoreil.com>
Mon, 10 Aug 2009 19:45:48 +0000 (19:45 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Aug 2009 05:13:23 +0000 (22:13 -0700)
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>
drivers/net/r8169.c

index 93a87aa7a0e47eecb0a034381602a7e5e0beaaef..8cd85309c675e6a4099d2bae370787b631b33d56 100644 (file)
@@ -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));
 }