net: sfp: add support for Clause 45 PHYs
authorRussell King <rmk+kernel@armlinux.org.uk>
Wed, 11 Dec 2019 10:57:01 +0000 (10:57 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Dec 2019 19:53:42 +0000 (11:53 -0800)
commit9a484621e88ac8386f131596ce8d76668daf7996
treead1d99c336007b0c4012fa52f8a64d34e8c66516
parent75f4d8d10e016f7428c268424483a927ee7a78bb
net: sfp: add support for Clause 45 PHYs

Some SFP+ modules have a Clause 45 PHY onboard, which is accessible via
the normal I2C address.  Detect 10G BASE-T PHYs which may have an
accessible PHY and probe for it.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/sfp.c