r8169: add support for RTL8126A
Heiner Kallweit
maintainerPATCH 1/1 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.
--- drivers/net/ethernet/realtek/r8169.h | 1 + drivers/net/ethernet/realtek/r8169_main.c | 105 ++++++++++++++---- .../net/ethernet/realtek/r8169_phy_config.c | 7 ++ 3 files changed, 89 insertions(+), 24 deletions(-)
drivers/net/ethernet/realtek/r8169.h +1 -0
@@ -68,6 +68,7 @@ enum mac_version {/* support for RTL_GIGA_MAC_VER_60 has been removed */ RTL_GIGA_MAC_VER_61 ,RTL_GIGA_MAC_VER_63 , +RTL_GIGA_MAC_VER_65 , RTL_GIGA_MAC_NONE };
drivers/net/ethernet/realtek/r8169_main.c +81 -24
276 lines not on this page · raw message
drivers/net/ethernet/realtek/r8169_phy_config.c +7 -0
@@ -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])
Signature · 1 line
2.43.0
This patch was applied to netdev/net-next.git (main) by David S. Miller <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by David S. Miller <[email protected]>:
Quoted 8 lines · On Thu, 1 Feb 2024 22:38:01 +0100 you wrote:
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 <[email protected]>[...]
Here is the summary with links:
- [net-next] r8169: add support for RTL8126A
https://git.kernel.org/netdev/net-next/c/3907f1ffc0ec
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html