]> git.karo-electronics.de Git - linux-beck.git/commit
igb: Fix i354 88E1112 PHY on RCC boards using AutoMediaDetect
authorTodd Fujinaka <todd.fujinaka@intel.com>
Wed, 29 Apr 2015 22:23:28 +0000 (15:23 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 18 Jul 2015 02:59:07 +0000 (19:59 -0700)
commit2ba6c0797c8b5a9f945345ef2b9193bd47e5f18e
tree5986094e8bc3fb3e93eb5c3e8049ea0b39035ad4
parent3b7884f75f3d3f0a0191c00a083535a1dd01a5a4
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 <todd.fujinaka@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igb/e1000_82575.c