[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20121115.174910.1186195664618812261.davem@davemloft.net>
Date: Thu, 15 Nov 2012 17:49:10 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: patrick.trantham@...l7.com
Cc: netdev@...r.kernel.org, steve.glendinning@...well.net,
otavio@...ystems.com.br, marex@...x.de, chohnstaedt@...ominate.com,
jkosina@...e.cz
Subject: Re: [PATCH] net: phy: smsc: Re-enable EDPD mode for LAN87xx
From: Patrick Trantham <patrick.trantham@...l7.com>
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 <patrick.trantham@...l7.com>
Applied to net-next, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists