net: phy: add core phylib sfp support
authorRussell King <rmk+kernel@armlinux.org.uk>
Fri, 15 Nov 2019 19:56:51 +0000 (19:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Nov 2019 00:56:13 +0000 (16:56 -0800)
commit298e54fa810e027f1b0800d789eb862592721f08
tree60f14e6e9aebd6650353732d3edf69cc2b491781
parentfb3d8bcde6df5565ba8a2d823eeb2928b6101d62
net: phy: add core phylib sfp support

Add core phylib help for supporting SFP sockets on PHYs.  This provides
a mechanism to inform the SFP layer about PHY up/down events, and also
unregister the SFP bus when the PHY is going away.

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