Skip to content

Commit 3d9b8ac

Browse files
ChunHao Linkuba-moo
authored andcommitted
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]> Reviewed-by: Heiner Kallweit <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 6d19294 commit 3d9b8ac

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
@@ -5398,7 +5398,7 @@ static void rtl_init_mac_address(struct rtl8169_private *tp)
53985398
/* register is set if system vendor successfully tested ASPM 1.2 */
53995399
static bool rtl_aspm_is_safe(struct rtl8169_private *tp)
54005400
{
5401-
if (tp->mac_version >= RTL_GIGA_MAC_VER_61 &&
5401+
if (tp->mac_version >= RTL_GIGA_MAC_VER_46 &&
54025402
r8168_mac_ocp_read(tp, 0xc0b2) & 0xf)
54035403
return true;
54045404

0 commit comments

Comments
 (0)