summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorMaxime Chevallier <maxime.chevallier@bootlin.com>2025-03-07 20:36:05 +0300
committerPaolo Abeni <pabeni@redhat.com>2025-03-18 11:03:11 +0300
commitc7ae89c6b4d55de583eb08da8100dc20a2828d9e (patch)
tree4121ea3d3ca8faeacd40d3fd28a3a3d62081627f /net/lapb/lapb_subr.c
parentfc81e257d19f5733c22732eef29fa15ee8bef221 (diff)
downloadlinux-c7ae89c6b4d55de583eb08da8100dc20a2828d9e.tar.xz
net: phy: phy_device: Use link_capabilities lookup for PHY aneg config
When configuring PHY advertising with autoneg disabled, we lookd for an exact linkmode to advertise and configure for the requested Speed and Duplex, specially at or over 1G. Using phy_caps_lookup allows us to build a list of the supported linkmodes at that speed that we can advertise instead of the first mode that matches. Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com> Link: https://patch.msgid.link/20250307173611.129125-9-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