diff options
author | Maxime Chevallier <maxime.chevallier@bootlin.com> | 2023-12-21 19:00:36 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-01-01 18:38:56 +0000 |
commit | 034fcc210349b873ece7356905be5c6ca11eef2a (patch) | |
tree | 42441a55f804098300298a7b4ed2c98515b8a256 /include/dt-bindings/leds | |
parent | 9c5625f559ad6fe9f6f733c11475bf470e637d34 (diff) | |
download | linux-stable-034fcc210349b873ece7356905be5c6ca11eef2a.tar.gz linux-stable-034fcc210349b873ece7356905be5c6ca11eef2a.tar.bz2 linux-stable-034fcc210349b873ece7356905be5c6ca11eef2a.zip |
net: phy: add helpers to handle sfp phy connect/disconnect
There are a few PHY drivers that can handle SFP modules through their
sfp_upstream_ops. Introduce Phylib helpers to keep track of connected
SFP PHYs in a netdevice's namespace, by adding the SFP PHY to the
upstream PHY's netdev's namespace.
By doing so, these SFP PHYs can be enumerated and exposed to users,
which will be able to use their capabilities.
Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/dt-bindings/leds')
0 files changed, 0 insertions, 0 deletions