diff options
author | Jisheng Zhang <Jisheng.Zhang@synaptics.com> | 2020-07-27 19:05:20 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-28 17:48:20 -0700 |
commit | 77b2898394e3bb843228ee6f90066a23cf67e8a1 (patch) | |
tree | 4f87b2fa3a9e7c7abc9a8fa8e13c05999206f6d5 /drivers/net/ethernet/intel/ice/ice_dcb_lib.h | |
parent | 1d8e5b0f3f2c6d05697f8192aac7255e6be1e715 (diff) |
net: stmmac: Speed down the PHY if WoL to save energy
When WoL is enabled and the machine is powered off, the PHY remains
waiting for wakeup events at max speed, which is a waste of energy.
Slow down the PHY speed before stopping the ethernet if WoL is enabled,
Signed-off-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_dcb_lib.h')
0 files changed, 0 insertions, 0 deletions