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)
commit36023da1c704d56f2f264ccbfcfb7a15cdfd4d14
treef8f1ce231596d36105036a02cc4a4807a14a70a1
parent298e54fa810e027f1b0800d789eb862592721f08
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