From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiner Kallweit Subject: [PATCH net-next 0/2] net: phy: add functionality to speed down PHY when waiting for WoL packet Date: Wed, 11 Jul 2018 22:29:10 +0200 Message-ID: <0d031081-4a7f-ddde-87c0-2c1c6be543c3@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: "netdev@vger.kernel.org" To: Andrew Lunn , Florian Fainelli , David Miller Return-path: Received: from mail-wr1-f66.google.com ([209.85.221.66]:40919 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732425AbeGKUfW (ORCPT ); Wed, 11 Jul 2018 16:35:22 -0400 Received: by mail-wr1-f66.google.com with SMTP id t6-v6so19423014wrn.7 for ; Wed, 11 Jul 2018 13:29:19 -0700 (PDT) Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: 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(-) -- 2.18.0