All of lore.kernel.org
 help / color / mirror / Atom feed
From: John-Michael Mulesa <jmulesa@gmail.com>
To: netdev@vger.kernel.org
Cc: Andrew Lunn <andrew@lunn.ch>,
	Heiner Kallweit <hkallweit1@gmail.com>,
	Russell King <linux@armlinux.org.uk>,
	"David S . Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@kernel.org>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Markus Stockhausen <markus.stockhausen@gmx.de>,
	John-Michael Mulesa <jmulesa@gmail.com>
Subject: [PATCH net-next 0/2] net: phy: realtek: add the mass production RTL8251B
Date: Tue,  1 Dec 2026 15:31:12 -0500	[thread overview]
Message-ID: <20261201203114.1274260-1-jmulesa@gmail.com> (raw)

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


             reply	other threads:[~2026-12-01 20:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-01 20:31 John-Michael Mulesa [this message]
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
2026-12-04 11:32   ` netdev-bot+sashiko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261201203114.1274260-1-jmulesa@gmail.com \
    --to=jmulesa@gmail.com \
    --cc=andrew@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=edumazet@kernel.org \
    --cc=hkallweit1@gmail.com \
    --cc=kuba@kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=markus.stockhausen@gmx.de \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.