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)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 3 Jan 2017 21:03:35 +0000 (13:03 -0800)
commit3f0d646b720d541309b11e190db58086f446f41e
treef4780140e67a6931713066380b55784e357f740f
parent910c9c0f59567ec204924d88ca04337bb04f17d9
ixgbe: Reduce I2C retry count on X550 devices

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>
drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c