From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Bizon Subject: Re: [PATCH] NET: bcm63xx_enet: move phy_(dis)connect into probe/remove Date: Thu, 19 Apr 2012 18:17:18 +0200 Message-ID: <1334852238.5185.40.camel@sakura.staff.proxad.net> References: <1334750537-14896-1-git-send-email-jonas.gorski@gmail.com> <1334753296.5185.3.camel@sakura.staff.proxad.net> <1334842380.5185.29.camel@sakura.staff.proxad.net> Reply-To: mbizon@freebox.fr Mime-Version: 1.0 Content-Type: text/plain; charset="ANSI_X3.4-1968" Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, Florian Fainelli , Eric Dumazet , "David S. Miller" To: Jonas Gorski Return-path: Received: from ns.iliad.fr ([212.27.33.1]:38265 "EHLO ns.iliad.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753860Ab2DSQRR (ORCPT ); Thu, 19 Apr 2012 12:17:17 -0400 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On Thu, 2012-04-19 at 16:52 +0200, Jonas Gorski wrote: > Yes, but none of the ethtool functions cause register writes in the > priv->has_phy = true case when in PHY_READY or PHY_HALTED state. All > they do is modify the phy_device's settings. unless I'm mistaken: phy_ethtool_sset() => phy_start_aneg() will kick the state machine even when state is PHY_READY -- Maxime