From: Richard Cochran Subject: Re: [PATCH net-next] net: phy: switch drivers to use dynamic feature detection Date: Sun, 7 Apr 2019 19:38:18 -0700 Message-ID: <20190408023818.lmwxtjcqju7p7i7f@localhost> References: <0cc96fab-e102-c0d1-ade0-90e3e06dc9f1@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <0cc96fab-e102-c0d1-ade0-90e3e06dc9f1@gmail.com> Sender: netdev-owner@vger.kernel.org To: Heiner Kallweit Cc: Andrew Lunn , Florian Fainelli , David Miller , Ray Jui , Scott Branden , Kevin Hilman , Heiko Stuebner , bcm-kernel-feedback-list@broadcom.com, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-rockchip@lists.infradead.org List-Id: linux-rockchip.vger.kernel.org On Sun, Apr 07, 2019 at 11:57:13AM +0200, Heiner Kallweit wrote: > Recently genphy_read_abilities() has been added that dynamically detects > clause 22 PHY abilities. I *think* this detection should work with all Famous last words! > supported PHY's, at least for the ones with basic features sets, i.e. > PHY_BASIC_FEATURES and PHY_GBIT_FEATURES. So let's remove setting these > features explicitly and rely on phylib feature detection. > > I don't have access to most of these PHY's, therefore I'd appreciate > regression testing. How about testing first, then merging? I suggest breaking this out into individual patches that can be Tested-by. Thanks, Richard