Skip to content

Commit d7e2d76

Browse files
committed
r8169: enable RTL8168H/RTL8168EP/RTL8168FP ASPM support
jira LE-3460 Rebuild_History Non-Buildable kernel-6.12.0-55.18.1.el10_0 commit-author ChunHao Lin <[email protected]> commit 3d9b8ac 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]> Reviewed-by: Heiner Kallweit <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]> (cherry picked from commit 3d9b8ac) Signed-off-by: Jonathan Maple <[email protected]>
1 parent 71d4955 commit d7e2d76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/realtek/r8169_main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5358,7 +5358,7 @@ static void rtl_init_mac_address(struct rtl8169_private *tp)
53585358
/* register is set if system vendor successfully tested ASPM 1.2 */
53595359
static bool rtl_aspm_is_safe(struct rtl8169_private *tp)
53605360
{
5361-
if (tp->mac_version >= RTL_GIGA_MAC_VER_61 &&
5361+
if (tp->mac_version >= RTL_GIGA_MAC_VER_46 &&
53625362
r8168_mac_ocp_read(tp, 0xc0b2) & 0xf)
53635363
return true;
53645364

0 commit comments

Comments
 (0)