]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commiteef95350db30e910eb65b18554d3d556b3fdf0a1
tree60f14e6e9aebd6650353732d3edf69cc2b491781
parent5e2c52cdaa9747568f323bc3f5909e706d6f05c8
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