[PATCH net-next 0/8] r8152: refactor and extend RTL8157/8159 support
From: Chih Kai Hsu
Date: Wed Sep 02 2026 - 05:11:25 EST
RTL8157 and RTL8159 have different init, enable, up/down, hw_phy_cfg,
and PHY access sequences from RTL8156. This series splits the shared
callbacks into per-chip variants and adds the missing RTL8157/8159
functionality: dedicated unload and change_mtu callbacks, TGPHY register
access via phy_read/phy_write pointers in struct rtl_ops, flow control
patch support through rtl_fc_pause_pkt_en(), and UPS support via
r8157_ups_en().
Chih Kai Hsu (8):
r8152: refactor r8156_init
r8152: support RTL8159 for different packages
r8152: refactor rtl8156_enable, rtl8156_up, and rtl8156_down
r8152: refactor r8157_hw_phy_cfg
r8152: support rtl8157_unload and rtl8157_change_mtu
r8152: add TGPHY access support
r8152: support rtl_fc_pause_pkt_en()
r8152: support UPS for RTL8157 and RTL8159
drivers/net/usb/r8152.c | 1258 +++++++++++++++++++++++++++++++++------
1 file changed, 1063 insertions(+), 195 deletions(-)
--
2.34.1