The driver matches the PHY ID 0x001cc862 as the RTL8251B. Realtek's SDK driver names that ID RTL8251BE, an engineering sample, and gives the mass production RTL8251B the ID 0x001cc86a. Patch 1 renames the existing driver to RTL8251BE, patch 2 adds the production RTL8251B as a Clause 45 PHY. Tested on a Sirivision SR-S5G3008 (RTL9303 switch with eight RTL8251B) running OpenWrt's 6.18 kernel with both patches backported unchanged: all eight PHYs report 0x001cc86a in MMD 1 and bind to the new driver. On the connected port the link came up at 5 Gbit/s, and at 2.5 and 1 Gbit/s with the advertisement limited through ethtool, and passed traffic at each speed. I have no hardware reporting 0x001cc862, so the rename itself is only build-tested (W=1). Both patches were written with the help of an AI coding assistant (Claude, claude-opus-5-5), which also compared the IDs against Realtek's SDK driver and drafted the changelogs. I reviewed and tested the result. John-Michael Mulesa (2): net: phy: realtek: rename the 0x001cc862 PHY to RTL8251BE net: phy: realtek: add support for the RTL8251B 5Gbps PHY drivers/net/phy/realtek/realtek_main.c | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-)
-- 2.56.1