]> git.baikalelectronics.ru Git - kernel.git/commit
r8169: fix RTL8168H and RTL8107E rx crc error
authorChunHao Lin <hau@realtek.com>
Thu, 23 Mar 2023 14:33:09 +0000 (22:33 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Apr 2023 10:10:45 +0000 (12:10 +0200)
commit084a93899b51193b4c43937c3ba2b93434e6525c
tree05a21f05945222bad50b5d9497dfa38451427d00
parentd121ff9d09714ff438f570b3a7ad91d6395675b5
r8169: fix RTL8168H and RTL8107E rx crc error

[ Upstream commit 33189f0a94b9639c058781fcf82e4ea3803b1682 ]

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: 08daab619d4c ("r8169:add support for RTL8168H and RTL8107E")
Signed-off-by: ChunHao Lin <hau@realtek.com>
Reviewed-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/realtek/r8169_phy_config.c