aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorandrew.vasquez@qlogic.com <andrew.vasquez@qlogic.com>2006-01-13 20:04:59 -0500
committerJames Bottomley <jejb@mulgrave.(none)>2006-01-14 11:55:26 -0500
commite038a1be22bef90795c5239d1563609b89c3aa18 (patch)
tree14500448eb96e4fec39b151a88e9930b5b49bc30 /drivers/scsi
parent9403688e9bca54b55bfcea51053c8af537beba0a (diff)
[SCSI] qla2xxx: Drop noisy 'UNDERRUN' status message.
There's no point in displaying the message during a valid underrun case. Limit the message to potentially problematic cases. Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/qla2xxx/qla_isr.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/drivers/scsi/qla2xxx/qla_isr.c b/drivers/scsi/qla2xxx/qla_isr.c
index 5181d966fecb..8a539dd48753 100644
--- a/drivers/scsi/qla2xxx/qla_isr.c
+++ b/drivers/scsi/qla2xxx/qla_isr.c
@@ -963,15 +963,16 @@ qla2x00_status_entry(scsi_qla_host_t *ha, void *pkt)
963 break; 963 break;
964 964
965 case CS_DATA_UNDERRUN: 965 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; 966 resid = resid_len;
972 if (scsi_status & SS_RESIDUAL_UNDER) { 967 if (scsi_status & SS_RESIDUAL_UNDER) {
973 cp->resid = resid; 968 cp->resid = resid;
974 CMD_RESID_LEN(cp) = resid; 969 CMD_RESID_LEN(cp) = resid;
970 } else {
971 DEBUG2(printk(KERN_INFO
972 "scsi(%ld:%d:%d) UNDERRUN status detected "
973 "0x%x-0x%x.\n", ha->host_no, cp->device->id,
974 cp->device->lun, comp_status, scsi_status));
975
975 } 976 }
976 977
977 /* 978 /*