i40e: Increase timeout when checking GLGEN_RSTAT_DEVSTATE bit
authorKevin Scott <kevin.c.scott@intel.com>
Thu, 18 Feb 2016 00:12:13 +0000 (16:12 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 19 Feb 2016 07:39:53 +0000 (23:39 -0800)
commit4d7cec078de864b7ba5459aa688278c4e6f3ad42
tree83c5e4dcc0e5a97c7e03ba58c0bb478bcdab2b0e
parent31b606d0c40a1435c54bff18e4d3d3c33af1c3cf
i40e: Increase timeout when checking GLGEN_RSTAT_DEVSTATE bit

When linking with particular PHY types (ex: copper PHY), the amount of
time it takes for the GLGEN_RSTAT_DEVSTATE to be set increases greatly,
which can lead to a timeout and failure to load the driver.

Change-ID: If02be0dfcd7c57fdde2d5c81cd63651260cd2029
Signed-off-by: Kevin Scott <kevin.c.scott@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_common.c