[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <568EC230.4070509@gmail.com>
Date: Thu, 07 Jan 2016 11:53:20 -0800
From: Florian Fainelli <f.fainelli@...il.com>
To: Russell King <rmk+kernel@....linux.org.uk>,
Thomas Petazzoni <thomas.petazzoni@...e-electrons.com>
CC: netdev@...r.kernel.org
Subject: Re: [PATCH RFC 06/26] phy: provide a hook for link up/link down events
On 07/12/15 09:37, Russell King wrote:
> Sometimes, we need to do additional work between the PHY coming up and
> marking the carrier present - for example, we may need to wait for the
> PHY to MAC link to finish negotiation. This changes phylib to provide
> a notification function pointer which avoids the built-in
> netif_carrier_on() and netif_carrier_off() functions.
>
> Standard ->adjust_link functionality is provided by hooking a helper
> into the new ->phy_link_change method.
>
> Signed-off-by: Russell King <rmk+kernel@....linux.org.uk>
Reviewed-by: Florian Fainelli <f.fainelli@...il.com>
--
Florian
Powered by blists - more mailing lists