diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2024-02-01 22:38:01 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-02-04 13:36:54 +0000 |
commit | 3907f1ffc0ecf466d5c04aadc44c4b9203f3ec9a (patch) | |
tree | 303285683cacbbcab2c3dac2786909a0bdfded72 /drivers/net/ethernet/realtek/r8169_phy_config.c | |
parent | selftests: netdevsim: stop using ifconfig (diff) | |
download | linux-3907f1ffc0ecf466d5c04aadc44c4b9203f3ec9a.tar.xz linux-3907f1ffc0ecf466d5c04aadc44c4b9203f3ec9a.zip |
r8169: add support for RTL8126A
This adds support for the RTL8126A found on Asus z790 Maximus Formula.
It was successfully tested w/o the firmware at 1000Mbps. Firmware file
has been provided by Realtek and submitted to linux-firmware.
2.5G and 5G modes are untested.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/realtek/r8169_phy_config.c')
-rw-r--r-- | drivers/net/ethernet/realtek/r8169_phy_config.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/ethernet/realtek/r8169_phy_config.c b/drivers/net/ethernet/realtek/r8169_phy_config.c index b50f16786c24..1f74317beb88 100644 --- a/drivers/net/ethernet/realtek/r8169_phy_config.c +++ b/drivers/net/ethernet/realtek/r8169_phy_config.c @@ -1102,6 +1102,12 @@ static void rtl8125b_hw_phy_config(struct rtl8169_private *tp, rtl8125b_config_eee_phy(phydev); } +static void rtl8126a_hw_phy_config(struct rtl8169_private *tp, + struct phy_device *phydev) +{ + r8169_apply_firmware(tp); +} + void r8169_hw_phy_config(struct rtl8169_private *tp, struct phy_device *phydev, enum mac_version ver) { @@ -1152,6 +1158,7 @@ void r8169_hw_phy_config(struct rtl8169_private *tp, struct phy_device *phydev, [RTL_GIGA_MAC_VER_53] = rtl8117_hw_phy_config, [RTL_GIGA_MAC_VER_61] = rtl8125a_2_hw_phy_config, [RTL_GIGA_MAC_VER_63] = rtl8125b_hw_phy_config, + [RTL_GIGA_MAC_VER_65] = rtl8126a_hw_phy_config, }; if (phy_configs[ver]) |