mbox series

[net-next,0/2] net: phy: add functionality to speed down PHY when waiting for WoL packet

Message ID 0d031081-4a7f-ddde-87c0-2c1c6be543c3@gmail.com
Headers show
Series net: phy: add functionality to speed down PHY when waiting for WoL packet | expand

Message

Heiner Kallweit July 11, 2018, 8:29 p.m. UTC
Some network drivers include functionality to speed down the PHY when
suspending and just waiting for a WoL packet because this saves energy.

This patch is based on our recent discussion about factoring out this
functionality to phylib. First user will be the r8169 driver.

Heiner Kallweit (2):
  net: phy: add helper phy_config_aneg
  net: phy: add phy_speed_down and phy_speed_up

 drivers/net/phy/phy.c | 91 +++++++++++++++++++++++++++++++++++++++++--
 include/linux/phy.h   |  2 +
 2 files changed, 89 insertions(+), 4 deletions(-)