From: Andrew Vasquez Date: Fri, 19 Oct 2007 22:59:18 +0000 (-0700) Subject: [SCSI] qla2xxx: Correct residual-count handling discrepancies during UNDERRUN handling. X-Git-Tag: v2.6.24-rc1~19^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6acf8190025e9c4ea513d4084ff089d476112816;p=pandora-kernel.git [SCSI] qla2xxx: Correct residual-count handling discrepancies during UNDERRUN handling. For recent ISPs, software during CS_UNDERRUN handling must determine if the two residuals, firmware-calculated and FCP_RSP, are different to recognize if a frame has been dropped. Update the driver to catch this condition, and clear the SS_RESIDUAL_UNDER and lscsi_status bits. This logic is consistent with what earlier firmwares did by explicitly cracking open the FCP_RSP statuses and clearing SS_RESIDUAL_UNDER. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley --- Reading git-diff-tree failed