qlcnic: diagnostics routine changes
authorSony Chacko <sony.chacko@qlogic.com>
Thu, 23 May 2013 21:04:31 +0000 (21:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 25 May 2013 06:04:54 +0000 (23:04 -0700)
commit4690a7e48ac55cf84fcf214279baf133304d71e4
tree28ca3c6b53a71b7be212d4d214621f184baa9675
parentb17f2ccaeea10f30322b9706d8d9b5b39d21f427
qlcnic: diagnostics routine changes

Test and set diagnostics mode bit before starting
diagnostics tests. Stop diagnostics tests if adapter is resetting.

Signed-off-by: Sony Chacko <sony.chacko@qlogic.com>
Signed-off-by: Shahed Shaikh <shahed.shaikh@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic.h
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c