From nobody Sun Feb 8 09:11:13 2026 Received: from mx4.wp.pl (mx4.wp.pl [212.77.101.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 198442882DE for ; Thu, 16 Oct 2025 19:23:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=212.77.101.12 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760642617; cv=none; b=bFdAph8m9d977AaFhkODVhRljDPvWkGrRGZrAa6e4S6QxaOU0nFbC1Tc37yaRFbHBTL6JKsgvVTAQa7JV+/74Gfb6udiHWvc7W8TMkeNciGM5NS0xuhz0j2ruMUmOrCyXjwzwml4lXBlsXQb92PoJDiPW+xXXW7IaMyJt0vF/Qs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760642617; c=relaxed/simple; bh=qPZyqqlDuxupwy3hqSnQfIURpZPS/AwJNmqI4HhPNE0=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=SEchciERNUbFm0Wc5mRiShQw/Q4YNQ9jOTIy3/4yG1vIA7XPzGqUw0n9Zk4st5pPepwwmssmMs+CFUMmIQFSBidVDg0bNc/t+Pw0zJQ0GxEuDOQEprDjU22/HFNwI/US0805Q3FkmhalgQ268EGpv8Wk0wpLKBqXio8tw6ZRQmg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=wp.pl; spf=pass smtp.mailfrom=wp.pl; dkim=pass (2048-bit key) header.d=wp.pl header.i=@wp.pl header.b=1rRVZjcJ; arc=none smtp.client-ip=212.77.101.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=wp.pl Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wp.pl Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=wp.pl header.i=@wp.pl header.b="1rRVZjcJ" Received: (wp-smtpd smtp.wp.pl 33255 invoked from network); 16 Oct 2025 21:23:31 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wp.pl; s=20241105; t=1760642611; bh=e7IBYjNUi7Lb06DrRP+uQ7pq93oWoPw2ibUwX8GbUDM=; h=From:To:Subject; b=1rRVZjcJdFsJ3pBmLZjhnq27q7b064x90Oz5jsTAO+6acwCOKkArbV/FwBWE43PhK f0MajVzIYuBNFnmbsoAnEt4bQ+tIHhBFRkc06cwYenR6d1t2fKtgCu7dvWEILi/qnh shJN3KR796CjlABz+EQTXms/MXlhufeI6CwQUjjygPl/rISE8k8DZ4OKGD1dxhqliA MvWN1HSMY7KHLC+CffVKWmIT6GmJ6oQza3SMDiEAgRi9amJ/BYmXjSwOgE4vGyjYCe MfBC+qT+RKjLzW39HQ74RHDm98GR2/DX7408Wp/Zp3Z8DF/P42cjExjJo1XltW8k03 hsGWWKfDRVFGg== Received: from 83.24.133.17.ipv4.supernova.orange.pl (HELO laptop-olek.lan) (olek2@wp.pl@[83.24.133.17]) (envelope-sender ) by smtp.wp.pl (WP-SMTPD) with ECDHE-RSA-AES256-GCM-SHA384 encrypted SMTP for ; 16 Oct 2025 21:23:31 +0200 From: Aleksander Jan Bajkowski To: andrew@lunn.ch, hkallweit1@gmail.com, linux@armlinux.org.uk, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, michael@fossekall.de, daniel@makrotopia.org, olek2@wp.pl, rmk+kernel@armlinux.org.uk, kabel@kernel.org, ericwouds@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net] net: phy: realtek: fix rtl8221b-vm-cg name Date: Thu, 16 Oct 2025 21:22:52 +0200 Message-ID: <20251016192325.2306757-1-olek2@wp.pl> X-Mailer: git-send-email 2.47.3 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-WP-MailID: 0f1545edf1641a304771a642558411d5 X-WP-AV: skaner antywirusowy Poczty Wirtualnej Polski X-WP-SPAM: NO 000000A [QXOk] Content-Type: text/plain; charset="utf-8" When splitting the RTL8221B-VM-CG into C22 and C45 variants, the name was accidentally changed to RTL8221B-VN-CG. This patch brings back the previous part number. Fixes: ad5ce743a6b0 ("net: phy: realtek: Add driver instances for rtl8221b = via Clause 45") Signed-off-by: Aleksander Jan Bajkowski Reviewed-by: Simon Horman --- drivers/net/phy/realtek/realtek_main.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/net/phy/realtek/realtek_main.c b/drivers/net/phy/realt= ek/realtek_main.c index a724b21b4fe7..16a347084293 100644 --- a/drivers/net/phy/realtek/realtek_main.c +++ b/drivers/net/phy/realtek/realtek_main.c @@ -154,7 +154,7 @@ #define RTL_8211FVD_PHYID 0x001cc878 #define RTL_8221B 0x001cc840 #define RTL_8221B_VB_CG 0x001cc849 -#define RTL_8221B_VN_CG 0x001cc84a +#define RTL_8221B_VM_CG 0x001cc84a #define RTL_8251B 0x001cc862 #define RTL_8261C 0x001cc890 =20 @@ -1523,16 +1523,16 @@ static int rtl8221b_vb_cg_c45_match_phy_device(stru= ct phy_device *phydev, return rtlgen_is_c45_match(phydev, RTL_8221B_VB_CG, true); } =20 -static int rtl8221b_vn_cg_c22_match_phy_device(struct phy_device *phydev, +static int rtl8221b_vm_cg_c22_match_phy_device(struct phy_device *phydev, const struct phy_driver *phydrv) { - return rtlgen_is_c45_match(phydev, RTL_8221B_VN_CG, false); + return rtlgen_is_c45_match(phydev, RTL_8221B_VM_CG, false); } =20 -static int rtl8221b_vn_cg_c45_match_phy_device(struct phy_device *phydev, +static int rtl8221b_vm_cg_c45_match_phy_device(struct phy_device *phydev, const struct phy_driver *phydrv) { - return rtlgen_is_c45_match(phydev, RTL_8221B_VN_CG, true); + return rtlgen_is_c45_match(phydev, RTL_8221B_VM_CG, true); } =20 static int rtl_internal_nbaset_match_phy_device(struct phy_device *phydev, @@ -1879,7 +1879,7 @@ static struct phy_driver realtek_drvs[] =3D { .suspend =3D genphy_c45_pma_suspend, .resume =3D rtlgen_c45_resume, }, { - .match_phy_device =3D rtl8221b_vn_cg_c22_match_phy_device, + .match_phy_device =3D rtl8221b_vm_cg_c22_match_phy_device, .name =3D "RTL8221B-VM-CG 2.5Gbps PHY (C22)", .probe =3D rtl822x_probe, .get_features =3D rtl822x_get_features, @@ -1892,8 +1892,8 @@ static struct phy_driver realtek_drvs[] =3D { .read_page =3D rtl821x_read_page, .write_page =3D rtl821x_write_page, }, { - .match_phy_device =3D rtl8221b_vn_cg_c45_match_phy_device, - .name =3D "RTL8221B-VN-CG 2.5Gbps PHY (C45)", + .match_phy_device =3D rtl8221b_vm_cg_c45_match_phy_device, + .name =3D "RTL8221B-VM-CG 2.5Gbps PHY (C45)", .probe =3D rtl822x_probe, .config_init =3D rtl822xb_config_init, .get_rate_matching =3D rtl822xb_get_rate_matching, --=20 2.47.3