summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorMaxime Chevallier <maxime.chevallier@bootlin.com>2025-03-07 20:36:01 +0300
committerPaolo Abeni <pabeni@redhat.com>2025-03-18 11:03:11 +0300
commit4823ed0609194e164bcacac04a610dd86717689f (patch)
tree1f5c084426fcf05909d28e6d5a3057dced7fa3da /net/lapb/lapb_subr.c
parent8c8c4a87933dd924f9fb56dfd35bae7e8f30a4b5 (diff)
downloadlinux-4823ed0609194e164bcacac04a610dd86717689f.tar.xz
net: phy: phy_caps: Move __set_linkmode_max_speed to phy_caps
Convert the __set_linkmode_max_speed to use the link_capabilities array. This makes it easy to clamp the linkmodes to a given max speed. Introduce a new helper phy_caps_linkmode_max_speed to replace the previous one that used phy_settings. Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com> Link: https://patch.msgid.link/20250307173611.129125-5-maxime.chevallier@bootlin.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions