Skip to content

Commit 33189f0

Browse files
RealtekNICdavem330
authored andcommitted
r8169: fix RTL8168H and RTL8107E rx crc error
When link speed is 10 Mbps and temperature is under -20°C, RTL8168H and RTL8107E may have rx crc error. Disable phy 10 Mbps pll off to fix this issue. Fixes: 6e1d0b8 ("r8169:add support for RTL8168H and RTL8107E") Signed-off-by: ChunHao Lin <[email protected]> Reviewed-by: Heiner Kallweit <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 2d45e6e commit 33189f0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/net/ethernet/realtek/r8169_phy_config.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -826,6 +826,9 @@ static void rtl8168h_2_hw_phy_config(struct rtl8169_private *tp,
826826
/* disable phy pfm mode */
827827
phy_modify_paged(phydev, 0x0a44, 0x11, BIT(7), 0);
828828

829+
/* disable 10m pll off */
830+
phy_modify_paged(phydev, 0x0a43, 0x10, BIT(0), 0);
831+
829832
rtl8168g_disable_aldps(phydev);
830833
rtl8168g_config_eee_phy(phydev);
831834
}

0 commit comments

Comments
 (0)