aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAndrew Vasquez <andrew.vasquez@qlogic.com>2011-03-30 14:46:16 -0400
committerJames Bottomley <James.Bottomley@suse.de>2011-05-01 10:55:09 -0400
commit1940ce7317826c230055e826727acb891fb8bece (patch)
treebad40b24e5487a839437ec26045b73d226dd11c0 /drivers
parent1390b01b26300d42662e436d8f1d307c4e0903c7 (diff)
[SCSI] qla2xxx: Display PortID information during FCP command-status handling.
To provide a clearer translation of the command-status origin in relation to the midlayer's standard SCSI nexus. Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: Madhuranath Iyengar <Madhu.Iyengar@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/scsi/qla2xxx/qla_isr.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/scsi/qla2xxx/qla_isr.c b/drivers/scsi/qla2xxx/qla_isr.c
index 712518d05128..4db80d8a97f6 100644
--- a/drivers/scsi/qla2xxx/qla_isr.c
+++ b/drivers/scsi/qla2xxx/qla_isr.c
@@ -1794,12 +1794,13 @@ out:
1794 if (logit) 1794 if (logit)
1795 DEBUG2(qla_printk(KERN_INFO, ha, 1795 DEBUG2(qla_printk(KERN_INFO, ha,
1796 "scsi(%ld:%d:%d) FCP command status: 0x%x-0x%x (0x%x) " 1796 "scsi(%ld:%d:%d) FCP command status: 0x%x-0x%x (0x%x) "
1797 "oxid=0x%x cdb=%02x%02x%02x len=0x%x " 1797 "portid=%02x%02x%02x oxid=0x%x cdb=%02x%02x%02x len=0x%x "
1798 "rsp_info=0x%x resid=0x%x fw_resid=0x%x\n", vha->host_no, 1798 "rsp_info=0x%x resid=0x%x fw_resid=0x%x\n", vha->host_no,
1799 cp->device->id, cp->device->lun, comp_status, scsi_status, 1799 cp->device->id, cp->device->lun, comp_status, scsi_status,
1800 cp->result, ox_id, cp->cmnd[0], 1800 cp->result, fcport->d_id.b.domain, fcport->d_id.b.area,
1801 cp->cmnd[1], cp->cmnd[2], scsi_bufflen(cp), rsp_info_len, 1801 fcport->d_id.b.al_pa, ox_id, cp->cmnd[0], cp->cmnd[1],
1802 resid_len, fw_resid_len)); 1802 cp->cmnd[2], scsi_bufflen(cp), rsp_info_len, resid_len,
1803 fw_resid_len));
1803 1804
1804 if (rsp->status_srb == NULL) 1805 if (rsp->status_srb == NULL)
1805 qla2x00_sp_compl(ha, sp); 1806 qla2x00_sp_compl(ha, sp);