r8169: enable more devices ASPM, LTR support
cover r8169: enable more devices ASPM, LTR support
This series of patches will enable more devices ASPM support and fix a RTL8126 cannot enter L1 substate issue when ASPM is enabled.
ChunHao Lin (2):
r8169: enable RTL8168H/RTL8168EP/RTL8168FP ASPM support
r8169: disable RTL8126 ZRX-DC timeout
drivers/net/ethernet/realtek/r8169_main.c | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-)
Signature · 1 line
2.43.0
PATCH 1/2 r8169: enable RTL8168H/RTL8168EP/RTL8168FP ASPM support
This patch will enable RTL8168H/RTL8168EP/RTL8168FP ASPM support on the platforms that have tested with ASPM enabled.
Signed-off-by ChunHao Lin <[email protected]>
--- drivers/net/ethernet/realtek/r8169_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/realtek/r8169_main.c +1 -1
@@ -5398,7 +5398,7 @@ static void rtl_init_mac_address(struct rtl8169_private *tp)/* register is set if system vendor successfully tested ASPM 1.2 */ static bool rtl_aspm_is_safe (struct rtl8169_private *tp) { -if (tp->mac_version >=RTL_GIGA_MAC_VER_61 && +if (tp->mac_version >=RTL_GIGA_MAC_VER_46 &&r8168_mac_ocp_read (tp,0xc0b2 ) &0xf )return true;
Signature · 1 line
2.43.0