Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934469AbdHYQ2b (ORCPT ); Fri, 25 Aug 2017 12:28:31 -0400 Received: from vps0.lunn.ch ([178.209.37.122]:44398 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934326AbdHYQ2a (ORCPT ); Fri, 25 Aug 2017 12:28:30 -0400 Date: Fri, 25 Aug 2017 18:28:27 +0200 From: Andrew Lunn To: Corentin Labbe Cc: peppe.cavallaro@st.com, alexandre.torgue@st.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] net: stmmac: Handle possible fixed-link with need_mdio_ids Message-ID: <20170825162827.GA4207@lunn.ch> References: <20170825144208.24503-1-clabbe.montjoie@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170825144208.24503-1-clabbe.montjoie@gmail.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 Content-Length: 453 Lines: 12 On Fri, Aug 25, 2017 at 04:42:08PM +0200, Corentin Labbe wrote: > In case of fixed link, there are no mdio node. > This patch add a test for fixed-link for bypassing MDIO node register. The two are not mutually exclusive. E.g. vf610-zii-dev.dtsi/vf610-zii-dev-rev-b.dts. It has a fixed-link on the FEC ethernet controller, and an Ethernet switch on the MDIO bus. If anybody ever wants to use a switch with the stmmac, this will be required. Andrew