From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933205AbeCSNXY (ORCPT ); Mon, 19 Mar 2018 09:23:24 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:35307 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932635AbeCSNXS (ORCPT ); Mon, 19 Mar 2018 09:23:18 -0400 Date: Mon, 19 Mar 2018 14:23:11 +0100 From: Andrew Lunn To: Stefan Chulski Cc: Antoine Tenart , Russell King - ARM Linux , "davem@davemloft.net" , "kishon@ti.com" , "gregory.clement@bootlin.com" , "jason@lakedaemon.net" , "sebastian.hesselbarth@gmail.com" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "thomas.petazzoni@bootlin.com" , "maxime.chevallier@bootlin.com" , "miquel.raynal@bootlin.com" , Nadav Haklai , Yan Markman , "mw@semihalf.com" , "linux-arm-kernel@lists.infradead.org" Subject: Re: [EXT] Re: [PATCH net-next 02/10] net: phy: phylink: allow 10GKR interface to use in-band negotiation Message-ID: <20180319132311.GA26039@lunn.ch> References: <20180316103351.16616-1-antoine.tenart@bootlin.com> <20180316103351.16616-3-antoine.tenart@bootlin.com> <20180316155307.GQ9418@n2100.armlinux.org.uk> <20180319085252.GF4519@kwain> <20180319111205.GB2743@n2100.armlinux.org.uk> <20180319125227.GI4519@kwain> <20180319125953.GD19795@lunn.ch> <54e290a192734831b5db22191f056a81@IL-EXCH01.marvell.com> <20180319130823.GA22306@lunn.ch> <02614799e30f4823a97fca0e9f29b14b@IL-EXCH01.marvell.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <02614799e30f4823a97fca0e9f29b14b@IL-EXCH01.marvell.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > phylink pool SFP loss signal to determine link up/down? Yes, the SFP driver will act on a GPIO for link up/down, and a GPIO for module prescience. When it detects an SFP module hotplugged, it reads the EEPROM to find out what sort of module it is, and what mode should be used between the MAC and SFP module. It will also handle if the SFP module is copper, and has a PHY in it... Andrew