diff options
author | Wong Vee Khee <vee.khee.wong@linux.intel.com> | 2021-09-30 14:44:36 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-09-30 14:12:30 +0100 |
commit | 656ed8b015f19bf3f6e6b3ddd9a4bb4aa5ca73e1 (patch) | |
tree | 16aee84c6eec5d1e574fb625ad9ddf77e19788df /net | |
parent | a5b8fd657881003ea11c193d147c8f4ba143725d (diff) |
net: stmmac: fix EEE init issue when paired with EEE capable PHYs
When STMMAC is paired with Energy-Efficient Ethernet(EEE) capable PHY,
and the PHY is advertising EEE by default, we need to enable EEE on the
xPCS side too, instead of having user to manually trigger the enabling
config via ethtool.
Fixed this by adding xpcs_config_eee() call in stmmac_eee_init().
Fixes: 7617af3d1a5e ("net: pcs: Introducing support for DWC xpcs Energy Efficient Ethernet")
Cc: Michael Sit Wei Hong <michael.wei.hong.sit@intel.com>
Signed-off-by: Wong Vee Khee <vee.khee.wong@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions