]> git.baikalelectronics.ru Git - kernel.git/commit
net: sfp: add support for multigig RollBall transceivers
authorMarek Behún <kabel@kernel.org>
Fri, 30 Sep 2022 14:21:10 +0000 (16:21 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Oct 2022 10:08:33 +0000 (11:08 +0100)
commit1ec902f369172df2676ddd180cc9f41ea49a3983
tree1a6162e4cdd6ab0820ad9936e12accec51147117
parentc42d4b46a74a016348d4b2b417a436c9d914332e
net: sfp: add support for multigig RollBall transceivers

This adds support for multigig copper SFP modules from RollBall/Hilink.
These modules have a specific way to access clause 45 registers of the
internal PHY.

We also need to wait at least 22 seconds after deasserting TX disable
before accessing the PHY. The code waits for 25 seconds just to be sure.

Signed-off-by: Marek Behún <kabel@kernel.org>
Reviewed-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/sfp.c