i40e/base: fix driver load failure
authorHelin Zhang <helin.zhang@intel.com>
Tue, 8 Mar 2016 08:14:28 +0000 (16:14 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 16 Mar 2016 16:34:46 +0000 (17:34 +0100)
commit8a8807369ffafef90c410279b4b2645d2d7a7483
tree7949b5cb7596c4abc03ed5af5154951ad8316519
parent5c1ebaa244e2dcf429bd4bcaebe19a84a50ab0ba
i40e/base: fix driver load failure

Fix the driver load failure with linking with some
PHY types, as the amount of time it takes for the
GLGEN_RSTAT_DEVSTATE to be set increases greatly on those PHY
types, which can lead to a timeout.

Fixes: 9aeefed05538 ("i40e/base: support ESS")

Signed-off-by: Helin Zhang <helin.zhang@intel.com>
Acked-by: Jingjing Wu <jingjing.wu@intel.com>
Acked-by: Remy Horton <remy.horton@intel.com>
drivers/net/i40e/base/i40e_common.c