summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/igc
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2024-02-26 19:29:07 -0600
committerDavid S. Miller <davem@davemloft.net>2024-02-28 12:18:04 +0000
commit17206c116d756268824db0acb272e2ac4230bd36 (patch)
treea3ff1fcab0598053986f92cdaae5206e05e65a3d /drivers/net/ethernet/intel/igc
parent2e26b6dfade4db750809b9231cce49498bb71767 (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