summaryrefslogtreecommitdiff
path: root/drivers/fpga/tests
diff options
context:
space:
mode:
authorMaxime Chevallier <maxime.chevallier@bootlin.com>2025-03-07 20:36:06 +0300
committerPaolo Abeni <pabeni@redhat.com>2025-03-18 11:03:11 +0300
commitde7d3f87be3cba8ad06978271a3135bd08810c97 (patch)
tree0c2b4ac7e06e049381142f0e14725c5fdfeb924e /drivers/fpga/tests
parentc7ae89c6b4d55de583eb08da8100dc20a2828d9e (diff)
downloadlinux-de7d3f87be3cba8ad06978271a3135bd08810c97.tar.xz
net: phylink: Use phy_caps_lookup for fixed-link configuration
When phylink creates a fixed-link configuration, it finds a matching linkmode to set as the advertised, lp_advertising and supported modes based on the speed and duplex of the fixed link. Use the newly introduced phy_caps_lookup to get these modes instead of phy_lookup_settings(). This has the side effect that the matched settings and configured linkmodes may now contain several linkmodes (the intersection of supported linkmodes from the phylink settings and the linkmodes that match speed/duplex) instead of the one from phy_lookup_settings(). Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com> Link: https://patch.msgid.link/20250307173611.129125-10-maxime.chevallier@bootlin.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/fpga/tests')
0 files changed, 0 insertions, 0 deletions