ixgbe/base: reduce i2c retry count for X550
authorWenzhuo Lu <wenzhuo.lu@intel.com>
Fri, 5 Jun 2015 05:21:40 +0000 (13:21 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 15 Jun 2015 16:24:40 +0000 (18:24 +0200)
commit487b329e5e3a4724d391b37eed5ebef4e960fb03
treef1aca8e3819a67b451546d7ba50fe4ab6698f5ef
parent7e61e847c11db4a5a135115c126cef398cf1ff2e
ixgbe/base: reduce i2c retry count for X550

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: Wenzhuo Lu <wenzhuo.lu@intel.com>
Acked-by: Helin Zhang <helin.zhang@intel.com>
drivers/net/ixgbe/base/ixgbe_phy.c