igb: Workaround for igb i210 firmware issue
authorChris J Arges <christopherarges@gmail.com>
Fri, 17 Mar 2017 00:48:19 +0000 (00:48 +0000)
committerWilly Tarreau <w@1wt.eu>
Tue, 20 Jun 2017 12:04:34 +0000 (14:04 +0200)
commitcc7f31bf7726f63038c5e3caa014db9e383314df
tree5d34a53fceb1bb5204bb2ebaaaf6e2b4ba7abc0b
parent741c8ac523d0f45031c07bd26a057af3d9b4e5a8
igb: Workaround for igb i210 firmware issue

commit 4e684f59d760a2c7c716bb60190783546e2d08a1 upstream.

Sometimes firmware may not properly initialize I347AT4_PAGE_SELECT causing
the probe of an igb i210 NIC to fail. This patch adds an addition zeroing
of this register during igb_get_phy_id to workaround this issue.

Thanks for Jochen Henneberg for the idea and original patch.

Signed-off-by: Chris J Arges <christopherarges@gmail.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Willy Tarreau <w@1wt.eu>
drivers/net/ethernet/intel/igb/e1000_phy.c