]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
igb: Workaround for igb i210 firmware issue
authorChris J Arges <christopherarges@gmail.com>
Fri, 17 Mar 2017 00:48:19 +0000 (00:48 +0000)
committerJiri Slaby <jslaby@suse.cz>
Fri, 7 Apr 2017 07:17:53 +0000 (09:17 +0200)
commitf3102ed1f121cdb44251e1b8f0bf2ea8e3111ee5
tree3645ac2fb97f9107ef3192ba18666db1280dc98c
parent6cc44bf0dc4968daeb825bff47c9702e2a65e6b4
igb: Workaround for igb i210 firmware issue

[ Upstream commit 4e684f59d760a2c7c716bb60190783546e2d08a1 ]

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: Jiri Slaby <jslaby@suse.cz>
drivers/net/ethernet/intel/igb/e1000_phy.c