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)
committerJakub Kicinski <kuba@kernel.org>
Fri, 26 Apr 2024 01:40:56 +0000 (18:40 -0700)
commitcd4a32e60061789676f7f018a94fcc9ec56732a0
tree8b61aef0de8c4e0a4f8ec0bb5cc184bef35a3ad0
parent6999e0fc9a552ce98fcc66bee3dca7e55fba0ed3
net: sfp: enhance quirk for Fibrestore 2.5G copper SFP module

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>
drivers/net/phy/sfp.c