From: Francois Romieu Date: Thu, 18 Oct 2007 12:35:11 +0000 (+0200) Subject: r8169: update the phy init for the 8168C X-Git-Tag: firefly_0821_release~24631^2~17^2~1 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a3f8067186c8d8459a20644b690f3a02131a3e37;p=firefly-linux-kernel-4.4.55.git 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: Francois Romieu Cc: Edward Hsu --- diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c index 3680ee7ccb0d..8ffd57324d66 100644 --- a/drivers/net/r8169.c +++ b/drivers/net/r8169.c @@ -1260,6 +1260,8 @@ static void rtl8168cp_hw_phy_config(void __iomem *ioaddr) static void rtl8168c_hw_phy_config(void __iomem *ioaddr) { struct phy_reg phy_reg_init[] = { + { 0x1f, 0x0001 }, + { 0x12, 0x2300 }, { 0x1f, 0x0002 }, { 0x00, 0x88d4 }, { 0x01, 0x82b1 },