Re: [PATCH net-next v8 10/11] r8152: add TGPHY register access for RTL8157 and RTL8159

From: Birger Koblitz

Date: Wed Nov 18 2026 - 11:42:44 EST


On 18/11/2026 2:42 pm, Andrew Lunn wrote:
I plan to add two new functions, rtl_nway_restart() and rtl8152_get_link_ksettings,
to replace mii_nway_restart() and mii_ethtool_get_link_ksettings, respectively.

Ideally, you should port this driver to phylink.

Andrew

Indeed, all of the (integrated) PHYs on the adapters supporeted by r8152 I looked at are already supported under drivers/net/phy/realtek/
It should be straight-forward with many immediate benefits.

Birger