summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorWong Vee Khee <vee.khee.wong@linux.intel.com>2021-09-30 09:44:36 +0300
committerDavid S. Miller <davem@davemloft.net>2021-09-30 16:12:30 +0300
commit656ed8b015f19bf3f6e6b3ddd9a4bb4aa5ca73e1 (patch)
tree16aee84c6eec5d1e574fb625ad9ddf77e19788df /include
parenta5b8fd657881003ea11c193d147c8f4ba143725d (diff)
downloadlinux-656ed8b015f19bf3f6e6b3ddd9a4bb4aa5ca73e1.tar.xz
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 'include')
0 files changed, 0 insertions, 0 deletions