🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #25458

[PATCH net-next 0/2] net: phy: realtek: add the mass production RTL8251B

#25458
From: John-Michael Mulesa
Date: Tue, 01 Dec 2026 20:31
29 lines
12029 bytes
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
Technical Details
Message-ID: <20261201203114.1274260-1-jmulesa@gmail.com>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-375345-linux-kernel-netdev=dewy.ru

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-375345-linux-kernel-netdev=dewy.ru
From: jmulesa@gmail.com (John-Michael Mulesa)
Newsgroups: linux.kernel.netdev
Subject: [PATCH net-next 0/2] net: phy: realtek: add the mass production RTL8251B
Date: Tue,  1 Dec 2026 15:31:12 -0500
Organization: Usenet Network
Sender: thesaxophonist@gmail.com (John-Michael Mulesa)
Message-ID: <20261201203114.1274260-1-jmulesa@gmail.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="1813638"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:Uh/VLSGxKhYjNmX9nuOS+56mZzo= sha256:dSlruQAoQ9uBtGcCdoYb6totKX1S8+e81fYFI8gX2Lw=
	sha1:ffG+KV+xIjhoQvoLgiTzKO71iro= sha256:p0qtCnbJIGN4Azv1caoSDaQN4ltBqSBR/dC6PKZ3gQc=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 515CA117493; Tue,  1 Dec 2026 23:31:59 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.049
X-Spam-Status: No, score=-3.049 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001,
	FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=gmail.com
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id PMI3RldJ5WSa;
	Tue,  1 Dec 2026 23:31:56 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-375345-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=gmail.com
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 0BD9F11748F; Tue,  1 Dec 2026 23:31:45 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id 590E22BA01; Tue,  1 Dec 2026 20:31:41 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1796157101;
	b=DSRoFrl6qF+wbFFfCk3jHR5w8wAnmUxD2JZWQdZmPOUrWyrmN7bCr/eaJ8pgF6bfdr4d
	 84FmO7mZ8cXL6PQRw3+FOkLsMq1qdenoyB4GbHDwdyZ1TXcYusvltXS0HQWCLTEy3o0j7
	 qEAlFAjr9/sPrA05FIh5jqu/ljHsNCWH51DQG0l3JY6eYNWwOmO+0r5b4xaHOpxo0PnYj
	 wVJSaIO5UmfUBQjhYXCR2wqfjCtI/ENm0p9Bl2G9rO+nXg7vmsERHvXRLHjnzEmTovTd6
	 iA6id2qyTjYeFollCW8X2F0Xt2Y2Df6QGE3vaEjhwE7wW78pVqnDFnySbjPh3vngo9g==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796157101;
	h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
	 X-Google-DKIM-Signature:X-Gm-Message-State:X-Gm-Gg:X-Received:
	 Received:Sender:From:To:Cc:Subject:Date:Message-ID:X-Mailer:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 Content-Transfer-Encoding;
	bh=8VyeNkeuLdJ20oEiZX8DOcEnynXz/S4ErhQK5TngyXI=;
	b=PUbMSs4UXUw0lxKnkylV3NrS8YC3+joHKuDa+Yy6V8yYlyCoh6Tun/mVtXMvTBjNOwCg
	 1FKler2m8nviS6Tru5oDJhHUfM4jHGRjE/uN84hgGlTIECq7D+JqEI0Jew6d9D8opH9pK
	 Hh9z7/o/9ZImbNr0WTLiBOUUQD2g1iorfBlTNr9aPntvOcPLgTrKxlDKlWGD2T0UeWAhX
	 jyebj3Lnnbsk5q//QxS1KHZfuUrMqm1Vy+Z1PHS7b0yB6SnHI1UmXXsV4bQK51n4tw/jt
	 aZXVeSE62MP5R+73LnEaiqNieNjIveTbq0X7kqjeOmiO7Bb84GWyL5HTx5uMbTD2Lpw==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=bZjZCDjQ;
	dmarc=pass header.from=gmail.com;
	spf=pass smtp.mailfrom=gmail.com;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 2FF68606A333;
	Tue,  1 Dec 2026 20:31:41 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=bZjZCDjQ
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.160.48
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1796157100;
	b=eA7WARstn4EFjf6mWFfMD5tolUVpYNTnv172M3S1Ov7BoskiDOYPDtrualTCa5GQNv7r
	 WKU1lwx+qhhWS8gMuTnTwmMikkX8CUJgY0TIVHPiIHC7NPvH20nC/+rILv4N4YdxYJdr9
	 nXhPVEL35Ew7F/E30NbjGZAHYhkVdeQuvPZ2TjT5RL5UVbikEOY4vV2jsYwTYCmcvSZki
	 Su20SbRjfS4pUgMO8Bv80fvrriK3XNcHllkJk32oupIW1gbCkqe9sPWi+dWN8jcA5fsej
	 qiEdzwUJ38SCiedbkc42JQP6S50MgvcfUTAXwPUoN8uUNoXAAkuhoKs3WwjFgwNdEnw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796157100;
	h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
	 X-Gm-Message-State:X-Gm-Gg:X-Received:Received:Sender:From:To:Cc:
	 Subject:Date:Message-ID:X-Mailer:MIME-Version:
	 Content-Transfer-Encoding;
	bh=8VyeNkeuLdJ20oEiZX8DOcEnynXz/S4ErhQK5TngyXI=;
	b=M7+kmui8D5PXdvmh9aLd7BlJWsL1MS78TjhSry9+apKGGVqwe/bS65uRwhHuCqJjOOn/
	 g9YR11qLc+uFUdvThoww4LsOQdKgFyDcFdY0YdnnEeTFnJWqbmAjwrhagx3fDLaqO4JFS
	 V4EtDyiSpaKOHbYTKrE5rCb1PZMPsVwBe4Vk7N5T0wAMKM3RAfVumptKzAGOWXKW0/J9f
	 NJr5yrq4GTNBNllKwxLHwvRu21aRme3FkdxOfJLjTKfPVzJmtimtGaJCbFvSOscF5+uj4
	 8iWjfmc8f17XpgvI5I+zesG8xOWpadzsaeeTkLXywDuoN+Tqzy5uyUrJTsPY/Mnf23A==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=gmail.com;
	spf=pass smtp.mailfrom=gmail.com;
	dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=bZjZCDjQ;
	arc=none smtp.remote-ip=209.85.160.48
X-Received: from mail-oa1-f48.google.com (mail-oa1-f48.google.com [209.85.160.48])
	(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 071DD606A331
	for <netdev@vger.kernel.org>; Tue,  1 Dec 2026 20:31:39 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 071DD606A331
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com
X-Received: by mail-oa1-f48.google.com with SMTP id 586e51a60fabf-4ad89c49e0dso3865104fac.2
        for <netdev@vger.kernel.org>; Tue, 01 Dec 2026 12:31:39 -0800 (PST)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20260707; t=1796157099; x=1796761899; darn=vger.kernel.org;
        h=content-transfer-encoding:mime-version:message-id:date:subject:cc
         :to:from:sender:from:to:cc:subject:date:message-id:reply-to
         :content-type;
        bh=8VyeNkeuLdJ20oEiZX8DOcEnynXz/S4ErhQK5TngyXI=;
        b=bZjZCDjQHZWfzTnOOki9Fs8xFFdSPYr8AW3nWyQUhz0D7PAfRuArCw5BytwpztCAGH
         RnFglMrfQOJaSZzXK5g4CmvqyJX6e47LISOuoyJg2bOcTlcyR15oYzx2l+kJn4UELvLg
         +/IWv2vMW9tXJ6AheXilATtejArzV/MJfjcUSF0T9egL38DdJjUiexDGGCrsZM3PD/7J
         I3hUyFfBQfyeD6D/z4u6FHAEaXGoAIUOx8pZF2vbyOwbkMJVlSh/3C4OclNVEKaUfyBQ
         vISOMSnPbLWCH6tqu3N0Z7ryT85Pu5i7WfPTcwCif2RyTuNR/Tu6GqnqVs2GEx7kmVHs
         ScyA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20260707; t=1796157099; x=1796761899;
        h=content-transfer-encoding:mime-version:message-id:date:subject:cc
         :to:from:sender:x-gm-gg:x-gm-message-state:from:to:cc:subject:date
         :message-id:reply-to:content-type;
        bh=8VyeNkeuLdJ20oEiZX8DOcEnynXz/S4ErhQK5TngyXI=;
        b=Eh3LEbGAfYxIW2uuPSAy4RgQCI+snlH9iATdmNFaeKKr7nVJ9gwRBkMAYTrHSkm7ZD
         azXWRu1q1UR4kQekDGQ64K1kFEMk+W9d33ssnMRKzgvoa7WfGS4HEqaLeZNt/Gn/OpyW
         eqKh2IpQxK251xEuCQ1aOWjS7JPIXnra/FimMbn7vpwT/TUtH+4XwZ+xS4atjv7jDxmD
         CQlJBpY3aadUfwzrLYAeUE6rtM98EvVshTIiSsP4FldCkZR9fzk16t2++KI84QxrYPyc
         PnXycNJRcDgaqde9gVAcoiAmOW+cqTN1EwuMN97qWJ6DtTP2IvqJs9Y8VYZKNmvOM0AZ
         Q90A==
X-Gm-Message-State: APuU4Z+sz6UfFU8tjRw01Hwr8WOwywct0Cvn3oFUaCM2Z/XA/Vyk0aez
	0rIATedj6xKQ0S+2Jj9tOmS0wSQd2LkGCQFU7xFkU6VW/CyeDcNM8hNpTytyzHi885ZnOg==
X-Gm-Gg: AZFdTZeAyGZ1JVeas3mklyODvNReioxK9zIyjlJ8+0znUVrFLg/kYnd1y5Du48iyktv
	i17n1tKJppRHvNW2+nG7eQlqgFzluLiqVmoIxM1Ms+DHqmNnOwA9f56utCZf8s3b89D+KZ7MtDj
	nFiuPLPIPA+Pv57uFLyNvo0z1ZxGUk/YLk8m4/qcEZrt1XLw5/d5jIO1+sGLZ5Joc4CtnqqsRRc
	l1W6P9DCDaOtYsgwHjCOCb5P9GBmuR88yRe9eJMed02821SKty+dmqbqbT89SVsEWvIrsZ4jljt
	W8pSVZSreqkA3cgkWNFi95WEf6MA9uHGI0xn1IKQ6ra4rMA2whf8/B7HM2m1DvS7+7f6WC9+J1q
	6HmG/oYfvJilzWGubKw1UflGy28FRC4d2uPszj7Dl04DWqdwr77qHXt9clbG103rCV/f2vOJTon
	4fpWb7esaJZYHfWWpZYijHTrihKHno0tSvL5jn7YWTlUGXv0wg/IaoLuelTDQGIyrGLKekCmIeS
	KIqVUn9IGzVFFC/EFApSDMWfWv6v/dNEG18Ur1OQG4pWZVADPHvH/ewjEtF796Wob3ES8lUkg+j
	SMoC3C3QqqiWVI8i0enHsDHzN2z2u2qXNdyrCGkz7ukab2jBKEqZgOm73bVosLWd8xt3v7+cR3m
	4E2vdSr+NU+Dw29KDHxZcd/sUCu1ywg==
X-Received: by 2002:a05:6870:e06c:b0:4b3:fa20:cafe with SMTP id 586e51a60fabf-4c739d49cf3mr26386597fac.48.1796157098752;
        Tue, 01 Dec 2026 12:31:38 -0800 (PST)
X-Received: from antec.lan (184-17-118-137.bng01.lfyt.in.frontiernet.net. [184.17.118.137])
        by smtp.gmail.com with ESMTPSA id 586e51a60fabf-4bc60491337sm31860366fac.12.2026.12.01.12.31.37
        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
        Tue, 01 Dec 2026 12:31:38 -0800 (PST)
X-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>
X-Mailer: git-send-email 2.56.1
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list