diff options
author | Andrew Lunn <[email protected]> | 2024-02-26 19:29:07 -0600 |
---|---|---|
committer | David S. Miller <[email protected]> | 2024-02-28 12:18:04 +0000 |
commit | 17206c116d756268824db0acb272e2ac4230bd36 (patch) | |
tree | a3ff1fcab0598053986f92cdaae5206e05e65a3d /scripts/generate_rust_analyzer.py | |
parent | 2e26b6dfade4db750809b9231cce49498bb71767 (diff) |
net: usb: r8152: Use linkmode helpers for EEE
Make use of the existing linkmode helpers for converting PHY EEE
register values into links modes, now that ethtool_keee uses link
modes, rather than u32 values.
Rework determining if EEE is active to make is similar as to how
phylib decides, and make use of a phylib helper to validate if EEE is
valid in for the current link mode. This then requires that PHYLIB is
selected.
Reviewed-by: Simon Horman <[email protected]>
Signed-off-by: Andrew Lunn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions