diff options
author | Andrew Vasquez <andrew.vasquez@qlogic.com> | 2005-07-06 13:30:47 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-07-14 10:56:14 -0400 |
commit | 8c958a99d6a903ce4ffaa6780f3425a8567db9e6 (patch) | |
tree | 5c82091aacf011fbeb99bcbcab30f1ece632e792 /drivers/scsi/qla2xxx/qla_mbx.c | |
parent | 6d9b61ed94fd9097f81adfa78d31c4613d9b3ae4 (diff) |
[SCSI] qla2xxx: Generalize SNS generic-services routines.
Generalize SNS generic-services routines.
Consolidate completion-status checking while adding support
for the ISP24xx.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_mbx.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_mbx.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_mbx.c b/drivers/scsi/qla2xxx/qla_mbx.c index b201971ff28e..f3720fa0adbf 100644 --- a/drivers/scsi/qla2xxx/qla_mbx.c +++ b/drivers/scsi/qla2xxx/qla_mbx.c | |||
@@ -822,7 +822,11 @@ qla2x00_issue_iocb(scsi_qla_host_t *ha, void* buffer, dma_addr_t phys_addr, | |||
822 | DEBUG2(printk("qla2x00_issue_iocb(%ld): failed rval 0x%x", | 822 | DEBUG2(printk("qla2x00_issue_iocb(%ld): failed rval 0x%x", |
823 | ha->host_no,rval);) | 823 | ha->host_no,rval);) |
824 | } else { | 824 | } else { |
825 | /*EMPTY*/ | 825 | sts_entry_t *sts_entry = (sts_entry_t *) buffer; |
826 | |||
827 | /* Mask reserved bits. */ | ||
828 | sts_entry->entry_status &= | ||
829 | IS_QLA24XX(ha) || IS_QLA25XX(ha) ? RF_MASK_24XX :RF_MASK; | ||
826 | } | 830 | } |
827 | 831 | ||
828 | return rval; | 832 | return rval; |