From mboxrd@z Thu Jan 1 00:00:00 1970 From: stefanc@marvell.com (Stefan Chulski) Date: Mon, 19 Mar 2018 13:19:24 +0000 Subject: [EXT] Re: [PATCH net-next 02/10] net: phy: phylink: allow 10GKR interface to use in-band negotiation In-Reply-To: <20180319130823.GA22306@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> Message-ID: <02614799e30f4823a97fca0e9f29b14b@IL-EXCH01.marvell.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org > -----Original Message----- > From: Andrew Lunn [mailto:andrew at lunn.ch] > Sent: Monday, March 19, 2018 3:08 PM > To: Stefan Chulski > Cc: Antoine Tenart ; Russell King - ARM Linux > ; davem at davemloft.net; kishon at ti.com; > gregory.clement at bootlin.com; jason at lakedaemon.net; > sebastian.hesselbarth at gmail.com; netdev at vger.kernel.org; linux- > kernel at vger.kernel.org; thomas.petazzoni at bootlin.com; > maxime.chevallier at bootlin.com; miquel.raynal at bootlin.com; Nadav Haklai > ; Yan Markman ; > mw at semihalf.com; linux-arm-kernel at lists.infradead.org > Subject: Re: [EXT] Re: [PATCH net-next 02/10] net: phy: phylink: allow 10GKR > interface to use in-band negotiation > > > > If they don't have PHYs, how are the connected to the outside world? > > > > > > Andrew > > > > By external SFP or direct attached cable. > > Maybe i'm missing something, but don't you just need to add an SFP device > in the device tree. The SFP code and PHYLINK will work together, query what > the SFP module is, use the GPIOs to determine link up/down and module > present, and tell the MAC how to configure the MAC-SFP link? > > Andrew phylink pool SFP loss signal to determine link up/down? Stefan, Best Regards.