From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH] net: phy: smsc: Re-enable EDPD mode for LAN87xx Date: Thu, 15 Nov 2012 20:34:52 -0500 (EST) Message-ID: <20121115.203452.167702404507991690.davem@davemloft.net> References: <1353006057-7593-1-git-send-email-patrick.trantham@fuel7.com> <20121115.174910.1186195664618812261.davem@davemloft.net> <201211160104.33846.marex@denx.de> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: patrick.trantham@fuel7.com, netdev@vger.kernel.org, steve.glendinning@shawell.net, otavio@ossystems.com.br, chohnstaedt@innominate.com, jkosina@suse.cz To: marex@denx.de Return-path: Received: from shards.monkeyblade.net ([149.20.54.216]:50318 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751148Ab2KPBe5 (ORCPT ); Thu, 15 Nov 2012 20:34:57 -0500 In-Reply-To: <201211160104.33846.marex@denx.de> Sender: netdev-owner@vger.kernel.org List-ID: From: Marek Vasut Date: Fri, 16 Nov 2012 01:04:33 +0100 > Dear David Miller, > >> From: Patrick Trantham >> Date: Thu, 15 Nov 2012 13:00:57 -0600 >> >> > This patch re-enables Energy Detect Power Down (EDPD) mode for the >> > LAN8710/LAN8720. EDPD mode was disabled in a previous commit, >> > (b629820d18fa65cc598390e4b9712fd5f83ee693), because it was causing the >> > PHY to not be able to detect a link when cold started without a cable >> > connected. >> > >> > The LAN8710/LAN8720 requires a minimum of 2 link pulses within 64ms of >> > each other in order to set the ENERGYON bit and exit EDPD mode. If a >> > link partner does send the pulses within this interval, the PHY will >> > remained powered down. >> > >> > This workaround will manually toggle the PHY on/off upon calls to >> > read_status in order to generate link test pulses if the link is down. >> > If a link partner is present, it will respond to the pulses, which will >> > cause the ENERGYON bit to be set and will cause the EDPD mode to be >> > exited. >> > >> > Signed-off-by: Patrick Trantham >> >> Applied to net-next, thanks. > > Can you please wait a bit until it gets a few tests ? This is net-next, we have months to take care of this before it really ends up in Linus's tree. It's already commited to the public record and therefore the change cannot be "un-commited" once I push it out to one of my GIT trees. I never rebase.