OSDN Git Service

ixgbe: Reduce I2C retry count on X550 devices
authorTony Nguyen <anthony.l.nguyen@intel.com>
Thu, 10 Nov 2016 17:57:29 +0000 (09:57 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 Nov 2017 08:23:27 +0000 (09:23 +0100)
commit7316fb33f0a5df4d4bbfa53c487c5454069cb783
tree25df8600bc770f8de1f84b0ee6899e9a7768b4b7
parente15dad31b10b156f9d8c23b160f586d0e0f347d2
ixgbe: Reduce I2C retry count on X550 devices

[ Upstream commit 3f0d646b720d541309b11e190db58086f446f41e ]

A retry count of 10 is likely to run into problems on X550 devices that
have to detect and reset unresponsive CS4227 devices. So, reduce the I2C
retry count to 3 for X550 and above. This should avoid any possible
regressions in existing devices.

Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c