]> bbs.cooldavid.org Git - net-next-2.6.git/commit - drivers/scsi/qla2xxx/qla_init.c
[SCSI] qla2xxx: Correct needless clean-up resets during shutdown.
authorAndrew Vasquez <andrew.vasquez@qlogic.com>
Thu, 28 Feb 2008 22:06:09 +0000 (14:06 -0800)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 3 Mar 2008 19:10:58 +0000 (13:10 -0600)
commit7c7f1f299b7f21f1f5fd4fa3da6b626406109f30
tree4fd5a80a273a548b8b5b7001a28571df38fc4b50
parentba1cb4618b2d7becc62c9fd67287e733a23611bc
[SCSI] qla2xxx: Correct needless clean-up resets during shutdown.

There's no point in hitting the RISC with what will most
assuredly be an unsucessful reset of the RISC hardware if the
initial stop-firmware mailbox command fails with a time-out
status.  Instead, to avoid what could amount to a lengthy
stop-firmware/detect-failure/reset-risc loop, continue with
driver unloading and discard the stop-firmware requirement.

Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/qla2xxx/qla_init.c