Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932480AbbHNRMi (ORCPT ); Fri, 14 Aug 2015 13:12:38 -0400 Received: from mail-la0-f48.google.com ([209.85.215.48]:36772 "EHLO mail-la0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932404AbbHNRMT (ORCPT ); Fri, 14 Aug 2015 13:12:19 -0400 Message-ID: <55CE216F.6000806@gmail.com> Date: Fri, 14 Aug 2015 20:12:15 +0300 From: Igor Plyatov Reply-To: plyatov@gmail.com User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 MIME-Version: 1.0 To: Michael Heimpold CC: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, f.fainelli@gmail.com, joe@perches.com, luwei.zhou@freescale.com, richardcochran@gmail.com, davem@davemloft.net, u.kleine-koenig@pengutronix.de, Fabio.Estevam@freescale.com, LW@karo-electronics.de, Frank.Li@freescale.com Subject: Re: [PATCH v2] net: phy: workaround for buggy cable detection by LAN8700 after cable plugging References: <1439493514-10793-1-git-send-email-plyatov@gmail.com> <5164251.N6KMl6pkAR@kerker> <55CDA0B8.5000200@gmail.com> <3066235.RJEkKeJLOx@kerker> In-Reply-To: <3066235.RJEkKeJLOx@kerker> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1736 Lines: 44 Dear Michael, > The LAN8700, LAN8710, LAN8720 is a product of the SMSC company. > Microchip acquired SMSC in August 2012. > > The LAN8700 is a legacy product for Microchip and they will not update > anything about it. So, even if Microchip know about HW bug, then there > is no chance to have Errata sheet or any new documents about LAN8700. > Long time ago, I worked on a custom device with a PHY of the same family. > Errata sheet existed but was only available by signing a NDA. So I simply > wondered whether this changed since SMSC is now Microchip or if they keep > it still so covered... The Microchip web-site does not contain Errata sheet for LAN87xx devices. While it contains many Errata sheets for PIC and dsPIC devices. So, situation is same as many years ago. > I propose following comment for the lan87xx_read_status(): > /* > * The LAN87xx suffers from rare absence of the ENERGYON-bit when > Ethernet cable > * plugs in while LAN87xx is in Energy Detect Power-Down mode. This > leads to > * unstable detection of plugging in Ethernet cable. > * This workaround disables Energy Detect Power-Down mode and waiting for > * response on link pulses to detect presence of plugged Ethernet cable. > * The Energy Detect Power-Down mode enabled again in the end of > procedure to > * save approximately 220 mW of power if cable is unplugged. > */ > Nice. Only one nitpick: ... _is_ enabled again... > Changed in [PATCH v3]. Best wishes. -- Igor Plyatov -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/