]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: sfp: enhance quirk for Fibrestore 2.5G copper SFP module
authorMarek Behún <kabel@kernel.org>
Tue, 23 Apr 2024 08:50:39 +0000 (10:50 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Jun 2024 11:52:13 +0000 (13:52 +0200)
commitb3dcad0bfd62fcc9367d8092a71918db53804f53
treed9fdd500d34b49b587a40760f4a9e1b2d26571e0
parente2f433ea7d0ff77998766a088a287337fb43ad75
net: sfp: enhance quirk for Fibrestore 2.5G copper SFP module

[ Upstream commit cd4a32e60061789676f7f018a94fcc9ec56732a0 ]

Enhance the quirk for Fibrestore 2.5G copper SFP module. The original
commit e27aca3760c0 ("net: sfp: add quirk for FS's 2.5G copper SFP")
introducing the quirk says that the PHY is inaccessible, but that is
not true.

The module uses Rollball protocol to talk to the PHY, and needs a 4
second wait before probing it, same as FS 10G module.

The PHY inside the module is Realtek RTL8221B-VB-CG PHY. The realtek
driver recently gained support to set it up via clause 45 accesses.

Signed-off-by: Marek Behún <kabel@kernel.org>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Link: https://lore.kernel.org/r/20240423085039.26957-2-kabel@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/phy/sfp.c