[SCSI] qla2xxx: Correct discrepancies during OVERRUN handling on FWI2-capable cards.
authorAndrew Vasquez <andrew.vasquez@qlogic.com>
Thu, 28 Feb 2008 22:06:10 +0000 (14:06 -0800)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 3 Mar 2008 19:11:18 +0000 (13:11 -0600)
commit3e8ce320cfc6cc10a7b99d8d6508d00bde20fdb7
treefa11155cdb41c68cb6c644d0b6e99a22d42a1cbe
parent7c7f1f299b7f21f1f5fd4fa3da6b626406109f30
[SCSI] qla2xxx: Correct discrepancies during OVERRUN handling on FWI2-capable cards.

For recent ISPs, software must detect OVERRUN conditions by
checking the SS_RESIDUAL_OVER bit during CS_COMPLETE handling.
Update the driver to perform this check, which is consistent with
what earlier firmwares did by explicitly cracking open the
FCP_RSP statuses and returning an CS_DATA_OVERRUN.

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