[SCSI] qla4xxx: fix scsi command completion, lun reset and target reset code
authorDavid C Somayajulu <david.somayajulu@qlogic.com>
Wed, 19 Mar 2008 18:23:03 +0000 (11:23 -0700)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 7 Apr 2008 17:19:00 +0000 (12:19 -0500)
commit9d56291366cd6ab156be722e42cf487bef20f5fd
treed85fadb003a7ed4a3ac8380487423a2b6ce31bb2
parentaf7a5647c03c18f5ea58033710ccb23d71727e0c
[SCSI] qla4xxx: fix scsi command completion, lun reset and target reset code

This patch contains the following:

1. when hba completion status is good, check for iscsi transport
   errors (underflow/overflow) prior to checking the scsi status

2. New firmware requires that one marker iocb be issued for each task
   management command. The patch issues marker iocb immediately
   following a LUN or Target reset.

Signed-off-by: David C Somayajulu <david.somayajulu@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/qla4xxx/ql4_fw.h
drivers/scsi/qla4xxx/ql4_glbl.h
drivers/scsi/qla4xxx/ql4_iocb.c
drivers/scsi/qla4xxx/ql4_isr.c
drivers/scsi/qla4xxx/ql4_os.c