diff options
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_isr.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_isr.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/drivers/scsi/qla2xxx/qla_isr.c b/drivers/scsi/qla2xxx/qla_isr.c index 5181d966fecb..f63af081d4ff 100644 --- a/drivers/scsi/qla2xxx/qla_isr.c +++ b/drivers/scsi/qla2xxx/qla_isr.c | |||
@@ -519,7 +519,8 @@ qla2x00_async_event(scsi_qla_host_t *ha, uint16_t *mb) | |||
519 | * us, create a new entry in our rscn fcports list and handle | 519 | * us, create a new entry in our rscn fcports list and handle |
520 | * the event like an RSCN. | 520 | * the event like an RSCN. |
521 | */ | 521 | */ |
522 | if (!IS_QLA2100(ha) && !IS_QLA2200(ha) && !IS_QLA6312(ha) && | 522 | if (ql2xprocessrscn && |
523 | !IS_QLA2100(ha) && !IS_QLA2200(ha) && !IS_QLA6312(ha) && | ||
523 | !IS_QLA6322(ha) && !IS_QLA24XX(ha) && !IS_QLA25XX(ha) && | 524 | !IS_QLA6322(ha) && !IS_QLA24XX(ha) && !IS_QLA25XX(ha) && |
524 | ha->flags.init_done && mb[1] != 0xffff && | 525 | ha->flags.init_done && mb[1] != 0xffff && |
525 | ((ha->operating_mode == P2P && mb[1] != 0) || | 526 | ((ha->operating_mode == P2P && mb[1] != 0) || |
@@ -963,15 +964,16 @@ qla2x00_status_entry(scsi_qla_host_t *ha, void *pkt) | |||
963 | break; | 964 | break; |
964 | 965 | ||
965 | case CS_DATA_UNDERRUN: | 966 | case CS_DATA_UNDERRUN: |
966 | DEBUG2(printk(KERN_INFO | ||
967 | "scsi(%ld:%d:%d) UNDERRUN status detected 0x%x-0x%x.\n", | ||
968 | ha->host_no, cp->device->id, cp->device->lun, comp_status, | ||
969 | scsi_status)); | ||
970 | |||
971 | resid = resid_len; | 967 | resid = resid_len; |
972 | if (scsi_status & SS_RESIDUAL_UNDER) { | 968 | if (scsi_status & SS_RESIDUAL_UNDER) { |
973 | cp->resid = resid; | 969 | cp->resid = resid; |
974 | CMD_RESID_LEN(cp) = resid; | 970 | CMD_RESID_LEN(cp) = resid; |
971 | } else { | ||
972 | DEBUG2(printk(KERN_INFO | ||
973 | "scsi(%ld:%d:%d) UNDERRUN status detected " | ||
974 | "0x%x-0x%x.\n", ha->host_no, cp->device->id, | ||
975 | cp->device->lun, comp_status, scsi_status)); | ||
976 | |||
975 | } | 977 | } |
976 | 978 | ||
977 | /* | 979 | /* |