Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 85910a8e authored by françois romieu's avatar françois romieu Committed by David S. Miller
Browse files

r8169: phy init for the 8102e



Synced with Realtek's 1.013.00 r8101 driver.

Signed-off-by: default avatarFrancois Romieu <romieu@fr.zoreil.com>
Cc: Edward Hsu <edward_hsu@realtek.com.tw>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0b9b571d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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));
}