]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mpt2sas: fix internal device reset for older firmware prior to MPI Rev K
authorKashyap, Desai <kashyap.desai@lsi.com>
Tue, 4 Jan 2011 06:04:17 +0000 (11:34 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 17 Feb 2011 23:13:59 +0000 (15:13 -0800)
commit6093ad9cb8c50534132f63a5c70ed846e16e4511
tree43ec5340d176d05d8dbe06f1dee2c51dc8464699
parent146a37c6bd6e9baa62ebb8c99baabb587f586d74
mpt2sas: fix internal device reset for older firmware prior to MPI Rev K

commit efe82a16bc0f9f9e1fc8fa706eb0309fcd57770a upstream.

The "internal device reset complete" event is not supported
for older firmware prior to MPI Rev K We added
a check in the driver so the "internal device reset" event is
ignored for older firmware.  When ignored, the tm_busy flag doesn't
get set nor cleared.  Without this fix, IO queues would be froozen
indefinetly after the "internal device reset" event, as the "complete" event
never sent to clear the flag.

Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/scsi/mpt2sas/mpt2sas_scsih.c