qlcnic: Minimize sleep duration within loopback diagnostic test.
authorJitendra Kalsaria <jitendra.kalsaria@qlogic.com>
Sat, 22 Jun 2013 08:12:02 +0000 (04:12 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Jun 2013 01:29:58 +0000 (18:29 -0700)
commit2c4a787847c243b725a7bac510d3ebaa35c90fab
treecddcb53138248a6e40e2af1203d69b8c6c70a607
parent52e493d01cbf85871f0d1fdaeffdf376444e5d50
qlcnic: Minimize sleep duration within loopback diagnostic test.

o Minimize sleep duration and check for adapter status.
o Exit from loopback test if adapter reset is detected.

Signed-off-by: Jitendra Kalsaria <jitendra.kalsaria@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.h