From: Igor Plyatov Date: Fri, 14 Aug 2015 17:11:02 +0000 (+0300) Subject: net: phy: workaround for buggy cable detection by LAN8700 after cable plugging X-Git-Tag: omap-for-v4.3/fixes-merge-window~77^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=776829de90c5972895db398993ddfa9417ff8b01;p=pandora-kernel.git net: phy: workaround for buggy cable detection by LAN8700 after cable plugging * Due to HW bug, LAN8700 sometimes does not detect presence of energy in the Ethernet cable in Energy Detect Power-Down mode (e.g while EDPWRDOWN bit is set, the ENERGYON bit does not asserted sometimes). This is a common bug of LAN87xx family of PHY chips. * The lan87xx_read_status() was improved to acquire ENERGYON bit. Its previous algorythm still not reliable on 100 % and sometimes skip cable plugging. Signed-off-by: Igor Plyatov Signed-off-by: David S. Miller --- Reading git-diff-tree failed