From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Lunn Subject: Re: [PATCH net-next 4/8] net: ethernet: add the Alpine Ethernet driver Date: Sun, 5 Nov 2017 16:22:27 +0100 Message-ID: <20171105152227.GY24320@lunn.ch> References: <20170203181216.30214-1-antoine.tenart@free-electrons.com> <20170203181216.30214-5-antoine.tenart@free-electrons.com> <20170203205823.GA22572@lunn.ch> <1503841641816.62526@amazon.com> <20170828180932.GG10418@lunn.ch> <8023db8c8218450fb6c97049db054989@EX13D13UWA001.ant.amazon.com> <723d35ce-aaa2-9011-19d6-99e77eed846f@gmail.com> <1509884946.21689.10.camel@amazon.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "f.fainelli@gmail.com" , "Chocron, Jonathan" , "linux-arm-kernel@lists.infradead.org" , "netdev@vger.kernel.org" , "davem@davemloft.net" , "antoine.tenart@free-electrons.com" , "arnd@arndb.de" , "thomas.petazzoni@free-electrons.com" To: "BSHARA, Said" Return-path: Received: from vps0.lunn.ch ([185.16.172.187]:43747 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750750AbdKEPWf (ORCPT ); Sun, 5 Nov 2017 10:22:35 -0500 Content-Disposition: inline In-Reply-To: <1509884946.21689.10.camel@amazon.com> Sender: netdev-owner@vger.kernel.org List-ID: > the problem is that physical MDIO controller actually belongs to one of > the pcie devices and it's not independent interface, as the registers > address belongs to that pcie device, also, a reset to that pcie device > will reset the "shared" mdio controller. What is the implications of resetting the mdio controller? It still seems like you should only register one MDIO device with linux, and then use phy-handle properties to point to the PHYs on the bus. Andrew