[PATCH net-next v9 0/7] r8169: add support for phylink

javen posted 7 patches 3 weeks, 5 days ago
drivers/net/ethernet/realtek/Kconfig      |   2 +-
drivers/net/ethernet/realtek/r8169_main.c | 705 +++++++++++++++++-----
drivers/net/phy/phylink.c                 | 171 ++++--
drivers/net/phy/realtek/realtek_main.c    |  54 --
include/linux/phylink.h                   |   2 +
include/net/phy/realtek_phy.h             |   7 -
6 files changed, 684 insertions(+), 257 deletions(-)
delete mode 100644 include/net/phy/realtek_phy.h
[PATCH net-next v9 0/7] r8169: add support for phylink
Posted by javen 3 weeks, 5 days ago
From: Javen Xu <javen_xu@realsil.com.cn>

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 (7):
  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 support for RTL8127atf
  r8169: add ltr support for RTL8117 series
  r8169: fix RTL8116af can not enter s0idle and c10

 drivers/net/ethernet/realtek/Kconfig      |   2 +-
 drivers/net/ethernet/realtek/r8169_main.c | 705 +++++++++++++++++-----
 drivers/net/phy/phylink.c                 | 171 ++++--
 drivers/net/phy/realtek/realtek_main.c    |  54 --
 include/linux/phylink.h                   |   2 +
 include/net/phy/realtek_phy.h             |   7 -
 6 files changed, 684 insertions(+), 257 deletions(-)
 delete mode 100644 include/net/phy/realtek_phy.h

-- 
2.43.0
Re: [PATCH net-next v9 0/7] r8169: add support for phylink
Posted by Andrew Lunn 3 weeks, 3 days ago
On Mon, Aug 31, 2026 at 01:37:38PM +0800, javen wrote:
> From: Javen Xu <javen_xu@realsil.com.cn>
> 
> 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.

I think there is still too much code accessing the PHY, but lets get
this merged, so it is easier to see what is left, and figure out how
it can be cleaned up.

	Andrew