From: Andrew Lunn Subject: Re: [PATCH net-next v2 4/5] net: phy: phylink: Allow setting a custom link state callback Date: Wed, 13 Dec 2017 17:58:45 +0100 Message-ID: <20171213165845.GF28466@lunn.ch> References: <20171213000029.8649-1-f.fainelli@gmail.com> <20171213000029.8649-5-f.fainelli@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: netdev@vger.kernel.org, rmk+kernel@armlinux.org.uk, davem@davemloft.net, vivien.didelot@savoirfairelinux.com To: Florian Fainelli Return-path: Received: from vps0.lunn.ch ([185.16.172.187]:59755 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752292AbdLMQ6r (ORCPT ); Wed, 13 Dec 2017 11:58:47 -0500 Content-Disposition: inline In-Reply-To: <20171213000029.8649-5-f.fainelli@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: On Tue, Dec 12, 2017 at 04:00:28PM -0800, Florian Fainelli wrote: > phylink_get_fixed_state() currently consults an optional "link_gpio" > GPIO descriptor, expand this mechanism to allow specifying a custom > callback. This is necessary to support out of band link notifcation > (e.g: from an interrupt within a MMIO register). > > Signed-off-by: Florian Fainelli Reviewed-by: Andrew Lunn Andrew