]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[SCSI] qla2xxx: Display PortID information during FCP command-status handling.
authorAndrew Vasquez <andrew.vasquez@qlogic.com>
Wed, 30 Mar 2011 18:46:16 +0000 (11:46 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 1 May 2011 14:55:09 +0000 (09:55 -0500)
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>
drivers/scsi/qla2xxx/qla_isr.c

index 712518d05128421ba422cb348ad3a73258efcfe1..4db80d8a97f6e6d3210b3e7cc668a7f912ce1889 100644 (file)
@@ -1794,12 +1794,13 @@ out:
        if (logit)
                DEBUG2(qla_printk(KERN_INFO, ha,
                    "scsi(%ld:%d:%d) FCP command status: 0x%x-0x%x (0x%x) "
-                   "oxid=0x%x cdb=%02x%02x%02x len=0x%x "
+                   "portid=%02x%02x%02x oxid=0x%x cdb=%02x%02x%02x len=0x%x "
                    "rsp_info=0x%x resid=0x%x fw_resid=0x%x\n", vha->host_no,
                    cp->device->id, cp->device->lun, comp_status, scsi_status,
-                   cp->result, ox_id, cp->cmnd[0],
-                   cp->cmnd[1], cp->cmnd[2], scsi_bufflen(cp), rsp_info_len,
-                   resid_len, fw_resid_len));
+                   cp->result, fcport->d_id.b.domain, fcport->d_id.b.area,
+                   fcport->d_id.b.al_pa, ox_id, cp->cmnd[0], cp->cmnd[1],
+                   cp->cmnd[2], scsi_bufflen(cp), rsp_info_len, resid_len,
+                   fw_resid_len));
 
        if (rsp->status_srb == NULL)
                qla2x00_sp_compl(ha, sp);