]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: marvell10g: add SFP+ support
authorRussell King <rmk+kernel@armlinux.org.uk>
Fri, 15 Nov 2019 19:56:56 +0000 (19:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Nov 2019 00:56:13 +0000 (16:56 -0800)
commit208a9f26825ac771e280b8cd684d89dc90177112
treef8f1ce231596d36105036a02cc4a4807a14a70a1
parenteef95350db30e910eb65b18554d3d556b3fdf0a1
net: phy: marvell10g: add SFP+ support

Add support for SFP+ cages to the Marvell 10G PHY driver. This is
slightly complicated by the way phylib works in that we need to use
a multi-step process to attach the SFP bus, and we also need to track
the phylink state machine to know when the module's transmit disable
signal should change state.

With appropriate DT changes, this allows the SFP+ canges on the
Macchiatobin platform to be functional.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/marvell10g.c