diff options
author | Maxime Chevallier <maxime.chevallier@bootlin.com> | 2025-03-07 18:36:10 +0100 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2025-03-18 09:03:12 +0100 |
commit | 3bd87f3b4405cefa12b6be7ebf75a021cac4738a (patch) | |
tree | 5da55d75e49ab0d09f1e68c2c9a09ca5ff0274f7 /include/linux/fpga/fpga-mgr.h | |
parent | 4ca5b8a258b67aa5e06af56e53708cc23ea05e79 (diff) |
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 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions