summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorMaxime Chevallier <maxime.chevallier@bootlin.com>2025-03-07 20:36:10 +0300
committerPaolo Abeni <pabeni@redhat.com>2025-03-18 11:03:12 +0300
commit3bd87f3b4405cefa12b6be7ebf75a021cac4738a (patch)
tree5da55d75e49ab0d09f1e68c2c9a09ca5ff0274f7 /net/lapb/lapb_subr.c
parent4ca5b8a258b67aa5e06af56e53708cc23ea05e79 (diff)
downloadlinux-3bd87f3b4405cefa12b6be7ebf75a021cac4738a.tar.xz
net: phylink: Use phy_caps to get an interface's capabilities and modes
Phylink has internal code to get the MAC capabilities of a given PHY interface (what are the supported speed and duplex). Extract that into phy_caps, but use the link_capa for conversion. Add an internal phylink helper for the link caps -> mac caps conversion, and use this in phylink_caps_to_linkmodes(). Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com> Link: https://patch.msgid.link/20250307173611.129125-14-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