[PATCH net-next v5 0/8] r8169: add support for phylink

From: javen

Date: Tue Jul 07 2026 - 05:31:40 EST


From: Javen Xu <javen_xu@xxxxxxxxxxxxxx>

This series patch adds support for phylink. RTL8116af is a fiber mode
card, link status and speed can not be read from standard phy reg. So
we read link status and speed from serdes reg by pcs. So as RTL8127atf.

Javen Xu (8):
r8169: add speed in private struct
net: phy: phylink: add helper to modify pause
r8169: add support for phylink
r8169: add support for RTL8116af
r8169: add ltr support for RTL8117 series
r8169: fix RTL8116af can not enter s0idle and c10
r8169: add phylink support for RTL8127atf
r8169: add 1g support for RTL8127atf

drivers/net/ethernet/realtek/Kconfig | 1 +
drivers/net/ethernet/realtek/r8169_main.c | 658 +++++++++++++++++-----
drivers/net/phy/phylink.c | 66 +++
drivers/net/phy/realtek/realtek_main.c | 54 --
include/linux/phylink.h | 2 +
include/net/phy/realtek_phy.h | 7 -
6 files changed, 585 insertions(+), 203 deletions(-)
delete mode 100644 include/net/phy/realtek_phy.h

--
2.43.0