diff options
author | Andrew Lunn <andrew@lunn.ch> | 2024-02-26 19:29:07 -0600 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-02-28 12:18:04 +0000 |
commit | 17206c116d756268824db0acb272e2ac4230bd36 (patch) | |
tree | a3ff1fcab0598053986f92cdaae5206e05e65a3d /drivers/net/ethernet/intel/igc | |
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 <horms@kernel.org>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/intel/igc')
0 files changed, 0 insertions, 0 deletions