From: Todd Fujinaka Date: Wed, 29 Apr 2015 22:23:28 +0000 (-0700) Subject: igb: Fix i354 88E1112 PHY on RCC boards using AutoMediaDetect X-Git-Tag: omap-for-v4.3/fixes-rc1~110^2~340^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ba6c0797c8b5a9f945345ef2b9193bd47e5f18e;p=pandora-kernel.git igb: Fix i354 88E1112 PHY on RCC boards using AutoMediaDetect e1000_check_for_link_media_swap() checks PHY page 0 for copper and PHY page 1 for "other" (fiber) link. The switch back from page 1 to page 0 happened too soon, before e1000_check_for_link_82575() is executed, and link on fiber (other) was never detected. Check for link while still on the proper PHY page. Signed-off-by: Todd Fujinaka Tested-by: Aaron Brown Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed