commit | ab576389b733b458495529f81839f499b3fece78 | [log] [tgz] |
---|---|---|
author | Alexander Duyck <alexander.h.duyck@intel.com> | Mon Oct 05 06:35:23 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Oct 06 14:59:23 2009 -0700 |
tree | 3b5728e8d8536bf70e927ea4ce6d16526763518a | |
parent | 81fadd81a5bc897c8d0424d1cd90cb999d8e12b0 [diff] |
igb: add code to retry a phy read in the event of failure on link check This patch adds a retry to phy reads in the event of failure. The original code broke out of the loop on failure and this is a mistake as we should be trying to do the read twice. Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>