diff options
author | Bruce Allan <bruce.w.allan@intel.com> | 2009-07-01 09:28:50 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-07-03 23:09:39 -0400 |
commit | 906e8d9792b1c4a8b58c1383f4c00fc4c9936fc3 (patch) | |
tree | d5d12aa0a373b3d9cb8ce072d64d3bdeffaa7400 /drivers/dma/dmatest.c | |
parent | 28c9195a570a32de2760310ca278d44a4fd060a4 (diff) |
e1000e: delay second read of PHY_STATUS register on failure of first read
Some PHYs may require two reads of the PHY_STATUS register to determine the
link status. If the PHY is being accessed by another thread it is possible
the first read could timeout and fail. In this case, put a delay in so
the second read will pick up the correct link status.
Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/dma/dmatest.c')
0 files changed, 0 insertions, 0 deletions