diff options
| author | Maxime Chevallier <[email protected]> | 2025-03-07 17:36:02 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2025-03-18 08:03:11 +0000 |
| commit | 87b22ce312350170af5e970c5abfb2bb87e39964 (patch) | |
| tree | faab5b91ee30e4fdf0d154448a622d08b4ef8600 /net/core/dev_api.c | |
| parent | net: phy: phy_caps: Move __set_linkmode_max_speed to phy_caps (diff) | |
| download | kernel-87b22ce312350170af5e970c5abfb2bb87e39964.tar.gz kernel-87b22ce312350170af5e970c5abfb2bb87e39964.zip | |
net: phy: phy_caps: Introduce phy_caps_valid
With the link_capabilities array, it's trivial to validate a given mask
againts a <speed, duplex> tuple. Create a helper for that purpose, and
use it to replace a phy_settings lookup in phy_check_valid();
Signed-off-by: Maxime Chevallier <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'net/core/dev_api.c')
0 files changed, 0 insertions, 0 deletions
