From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759208AbcIMP7c (ORCPT ); Tue, 13 Sep 2016 11:59:32 -0400 Received: from vps0.lunn.ch ([178.209.37.122]:42859 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754885AbcIMP7b (ORCPT ); Tue, 13 Sep 2016 11:59:31 -0400 Date: Tue, 13 Sep 2016 17:59:26 +0200 From: Andrew Lunn To: John Crispin , Florian Fainelli Cc: "David S. Miller" , Florian Fainelli , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, qsdk-review@qca.qualcomm.com Subject: Re: [PATCH 3/3] net-next: dsa: add new driver for qca8xxx family Message-ID: <20160913155926.GP11400@lunn.ch> References: <1473669337-21221-1-git-send-email-john@phrozen.org> <1473669337-21221-4-git-send-email-john@phrozen.org> <20160913004047.GB3585@lunn.ch> <7f9c1463-1cc0-e230-e7fe-dbb434427251@phrozen.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7f9c1463-1cc0-e230-e7fe-dbb434427251@phrozen.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Hi Andrew, > > this function does indeed duplicate the functionality of > phy_ethtool_get_eee() with the small difference, that e->eee_active is > also set which phy_ethtool_get_eee() does not set. > > dsa_slave_get_eee() will call phy_ethtool_get_eee() right after the > get_eee() op has been called. would it be ok to move the code setting > eee_active to phy_ethtool_get_eee(). Hi John I think that is a question for Florian. Andrew