Netdev List
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] net: phy: realtek: add the mass production RTL8251B
@ 2026-12-01 20:31 John-Michael Mulesa
  2026-12-01 20:31 ` [PATCH net-next 1/2] net: phy: realtek: rename the 0x001cc862 PHY to RTL8251BE John-Michael Mulesa
  2026-12-01 20:31 ` [PATCH net-next 2/2] net: phy: realtek: add support for the RTL8251B 5Gbps PHY John-Michael Mulesa
  0 siblings, 2 replies; 3+ messages in thread
From: John-Michael Mulesa @ 2026-12-01 20:31 UTC (permalink / raw)
  To: netdev
  Cc: Andrew Lunn, Heiner Kallweit, Russell King, David S . Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, Markus Stockhausen,
	John-Michael Mulesa

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-12-01 20:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-01 20:31 [PATCH net-next 0/2] net: phy: realtek: add the mass production RTL8251B John-Michael Mulesa
2026-12-01 20:31 ` [PATCH net-next 1/2] net: phy: realtek: rename the 0x001cc862 PHY to RTL8251BE John-Michael Mulesa
2026-12-01 20:31 ` [PATCH net-next 2/2] net: phy: realtek: add support for the RTL8251B 5Gbps PHY John-Michael Mulesa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox