aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
diff options
context:
space:
mode:
authorMaxime Chevallier <[email protected]>2024-08-21 15:09:57 +0000
committerDavid S. Miller <[email protected]>2024-08-23 12:04:34 +0000
commitb2db6f4ace72e71fa09b8d1354f8ac9854140d74 (patch)
tree6b689ac33cb21ddd5c85dedb0321386c6deea6f2 /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
parentnet: sfp: pass the phy_device when disconnecting an sfp module's PHY (diff)
downloadkernel-b2db6f4ace72e71fa09b8d1354f8ac9854140d74.tar.gz
kernel-b2db6f4ace72e71fa09b8d1354f8ac9854140d74.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 <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Reviewed-by: Christophe Leroy <[email protected]> Tested-by: Christophe Leroy <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c')
0 files changed, 0 insertions, 0 deletions