From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Lunn Subject: Re: [PATCH net-next 3/4] net: phy-c45: Implement reset/suspend/resume callbacks Date: Tue, 23 Oct 2018 14:38:41 +0200 Message-ID: <20181023123841.GA21149@lunn.ch> References: <20181022122839.GB24112@lunn.ch> <8114f345-0efb-9a64-b867-2cfe2fba09ab@synopsys.com> <20181022154851.GA1492@n2100.armlinux.org.uk> <943a6194-001a-d6a0-84ba-b93b728ce64b@synopsys.com> <20181023102023.GM30658@n2100.armlinux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Russell King - ARM Linux , Florian Fainelli , netdev@vger.kernel.org, "David S. Miller" , Joao Pinto To: Jose Abreu Return-path: Received: from vps0.lunn.ch ([185.16.172.187]:41114 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727514AbeJWVCH (ORCPT ); Tue, 23 Oct 2018 17:02:07 -0400 Content-Disposition: inline In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: > If it's okay for Generic 10G driver I can submit only this and > manually reset PHY in stmmac driver so that I don't need to > implement custom PHY driver ... Hi Jose That is a bad idea. What happens when somebody uses a different PHY which uses a different reset sequence? Please keep with the abstraction. Anything touching the PHY needs to be in a PHY driver, or phylib. Andrew