Commit 3fc364c0 authored by Heiner Kallweit's avatar Heiner Kallweit Committed by David S. Miller

r8169: allow to enable ASPM on RTL8125A

For most chip versions this has been added already. Allow also for
RTL8125A to enable ASPM.
Signed-off-by: default avatarHeiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4c8024f7
...@@ -3622,6 +3622,7 @@ static void rtl_hw_start_8125a_1(struct rtl8169_private *tp) ...@@ -3622,6 +3622,7 @@ static void rtl_hw_start_8125a_1(struct rtl8169_private *tp)
rtl_ephy_init(tp, e_info_8125a_1); rtl_ephy_init(tp, e_info_8125a_1);
rtl_hw_start_8125_common(tp); rtl_hw_start_8125_common(tp);
rtl_hw_aspm_clkreq_enable(tp, true);
} }
static void rtl_hw_start_8125a_2(struct rtl8169_private *tp) static void rtl_hw_start_8125a_2(struct rtl8169_private *tp)
...@@ -3649,6 +3650,7 @@ static void rtl_hw_start_8125a_2(struct rtl8169_private *tp) ...@@ -3649,6 +3650,7 @@ static void rtl_hw_start_8125a_2(struct rtl8169_private *tp)
rtl_ephy_init(tp, e_info_8125a_2); rtl_ephy_init(tp, e_info_8125a_2);
rtl_hw_start_8125_common(tp); rtl_hw_start_8125_common(tp);
rtl_hw_aspm_clkreq_enable(tp, true);
} }
static void rtl_hw_start_8125b(struct rtl8169_private *tp) static void rtl_hw_start_8125b(struct rtl8169_private *tp)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment