[SCSI] mpt2sas: fix internal device reset for older firmware prior to MPI Rev K
commitefe82a16bc0f9f9e1fc8fa706eb0309fcd57770a
authorKashyap, Desai <kashyap.desai@lsi.com>
Tue, 4 Jan 2011 06:04:17 +0000 (4 11:34 +0530)
committerJames Bottomley <James.Bottomley@suse.de>
Mon, 24 Jan 2011 15:15:38 +0000 (24 09:15 -0600)
tree8a3f1fe2b986206a53b769c69c23dc9a82003905
parent4dc2757a2e9a9d1f2faee4fc6119276fc0061c16
[SCSI] mpt2sas: fix internal device reset for older firmware prior to MPI Rev K

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>
Cc: stable@kernel.org
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/mpt2sas/mpt2sas_scsih.c