From: David Miller Subject: Re: [PATCH net-next v2 0/5] PHYLINK preparatory patches for DSA Date: Wed, 13 Dec 2017 15:55:25 -0500 (EST) Message-ID: <20171213.155525.320944597670977314.davem@davemloft.net> References: <20171213000029.8649-1-f.fainelli@gmail.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, rmk+kernel@armlinux.org.uk, andrew@lunn.ch, vivien.didelot@savoirfairelinux.com To: f.fainelli@gmail.com Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:44934 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753818AbdLMUz1 (ORCPT ); Wed, 13 Dec 2017 15:55:27 -0500 In-Reply-To: <20171213000029.8649-1-f.fainelli@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Florian Fainelli Date: Tue, 12 Dec 2017 16:00:24 -0800 > In preparation for having DSA migrate to PHYLINK, I had to come up with a > number of preparatory patches: > > - we need to be able to pass phy_flags from an external component calling > phylink_of_phy_connect() > - DSA tries to connect through OF first, then fallsback using its own internal > MDIO bus, in that case we would both show an error, but also not know what > the correct phy_interface_t would be, instead use the PHY device/driver provided > one > - Finally bcm_sf2 makes use of all possible PHYs out there: internal, external, > fixed, and MoCA, the latter requires a bit of help to signal link notifications > through a MMIO interrupt, as well a report a correct PORT type > > Changes in v2: > > - rebased against latest net-next/master > - added kernel doc documentation > - dropped error message in phylink_of_phy_connect() as suggested by Russell Series applied, thanks Florian.