commit | 2b9672ddb6f347467d7b33b86c5dfc4d5c0501a8 | [log] [tgz] |
---|---|---|
author | Heiner Kallweit <hkallweit1@gmail.com> | Thu Jul 12 21:32:53 2018 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon Jul 16 13:34:47 2018 -0700 |
tree | 6bd5081c4a13583ec4b0a1df2d493238878a5e71 | |
parent | 762995807059dec20c926617415e0cdd52fd44e9 [diff] |
net: phy: add phy_speed_down and phy_speed_up Some network drivers include functionality to speed down the PHY when suspending and just waiting for a WoL packet because this saves energy. This functionality is quite generic, therefore let's factor it out to phylib. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>