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

Commit a3f80671 authored by Francois Romieu's avatar Francois Romieu
Browse files

r8169: update the phy init for the 8168C



The values have been updated between version 8.002.00 and version
8.003.00 of Realtek's r8168 driver. This modification syncs the
8168C with version 8.003.00.

Signed-off-by: default avatarFrancois Romieu <romieu@fr.zoreil.com>
Cc: Edward Hsu <edward_hsu@realtek.com.tw>
parent a441d7b6
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -1260,6 +1260,8 @@ static void rtl8168cp_hw_phy_config(void __iomem *ioaddr)
static void rtl8168c_hw_phy_config(void __iomem *ioaddr)
static void rtl8168c_hw_phy_config(void __iomem *ioaddr)
{
{
	struct phy_reg phy_reg_init[] = {
	struct phy_reg phy_reg_init[] = {
		{ 0x1f, 0x0001 },
		{ 0x12, 0x2300 },
		{ 0x1f, 0x0002 },
		{ 0x1f, 0x0002 },
		{ 0x00, 0x88d4 },
		{ 0x00, 0x88d4 },
		{ 0x01, 0x82b1 },
		{ 0x01, 0x82b1 },