Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753503AbdHXRpc (ORCPT ); Thu, 24 Aug 2017 13:45:32 -0400 Received: from vps0.lunn.ch ([178.209.37.122]:43372 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753228AbdHXRpa (ORCPT ); Thu, 24 Aug 2017 13:45:30 -0400 Date: Thu, 24 Aug 2017 19:45:19 +0200 From: Andrew Lunn To: Russell King - ARM Linux Cc: Antoine Tenart , davem@davemloft.net, kishon@ti.com, jason@lakedaemon.net, sebastian.hesselbarth@gmail.com, gregory.clement@free-electrons.com, thomas.petazzoni@free-electrons.com, nadavh@marvell.com, linux-kernel@vger.kernel.org, mw@semihalf.com, stefanc@marvell.com, miquel.raynal@free-electrons.com, netdev@vger.kernel.org Subject: Re: [PATCH net-next 09/13] net: mvpp2: dynamic reconfiguration of the PHY mode Message-ID: <20170824174519.GC18700@lunn.ch> References: <20170824083823.16826-1-antoine.tenart@free-electrons.com> <20170824083823.16826-10-antoine.tenart@free-electrons.com> <20170824145609.GJ8022@lunn.ch> <20170824165947.GZ20805@n2100.armlinux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170824165947.GZ20805@n2100.armlinux.org.uk> 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 Content-Length: 434 Lines: 15 Hi Russell > I think you're all getting confused. Yes, i was at least. > The 88x3310 driver in the kernel knows about these combinations and > sets the phy interface parameter correctly depending on whether the > PHY has configured itself for copper at whatever speed or SFP+. So when the PHY decides to swap from copper to fibre etc, is the phylib state machine kept up to date. Does it see a down, followed by an up? Andrew