From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932309AbcKPNYP (ORCPT ); Wed, 16 Nov 2016 08:24:15 -0500 Received: from vps0.lunn.ch ([178.209.37.122]:41657 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752206AbcKPNYM (ORCPT ); Wed, 16 Nov 2016 08:24:12 -0500 Date: Wed, 16 Nov 2016 14:23:37 +0100 From: Andrew Lunn To: Jerome Brunet Cc: Florian Fainelli , netdev@vger.kernel.org, devicetree@vger.kernel.org, Carlo Caione , Kevin Hilman , Giuseppe Cavallaro , Alexandre TORGUE , Martin Blumenstingl , Andre Roth , Neil Armstrong , linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net 1/3] net: phy: realtek: add eee advertisement disable options Message-ID: <20161116132337.GD19962@lunn.ch> References: <1479220154-25851-1-git-send-email-jbrunet@baylibre.com> <1479220154-25851-2-git-send-email-jbrunet@baylibre.com> <20161115163036.GB23231@lunn.ch> <476b72f3-5efe-3551-6c24-0e378d655a0f@gmail.com> <1479290189.17538.25.camel@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1479290189.17538.25.camel@baylibre.com> 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 > There two kind of PHYs supporting eee, the one advertising eee by > default (like realtek) and the one not advertising it (like micrel). I don't know too much about EEE. So maybe a dumb question. Does the MAC need to be involved? Or is it just the PHY? If the MAC needs to be involved, the PHY should not be advertising EEE unless the MAC asks for it by calling phy_init_eee(). If this is true, maybe we need to change the realtek driver, and others in that class. Andrew