Commit 3d9b8ac5 authored by ChunHao Lin's avatar ChunHao Lin Committed by Jakub Kicinski
Browse files

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: default avatarChunHao Lin <hau@realtek.com>
Reviewed-by: default avatarHeiner Kallweit <hkallweit1@gmail.com>
Link: https://patch.msgid.link/20250318083721.4127-2-hau@realtek.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 6d192947
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;