diff options
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_gs.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_gs.c | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/drivers/scsi/qla2xxx/qla_gs.c b/drivers/scsi/qla2xxx/qla_gs.c index 4c083928c2fb..74a91b6dfc68 100644 --- a/drivers/scsi/qla2xxx/qla_gs.c +++ b/drivers/scsi/qla2xxx/qla_gs.c | |||
@@ -121,8 +121,11 @@ qla2x00_chk_ms_status(scsi_qla_host_t *vha, ms_iocb_entry_t *ms_pkt, | |||
121 | 121 | ||
122 | rval = QLA_FUNCTION_FAILED; | 122 | rval = QLA_FUNCTION_FAILED; |
123 | if (ms_pkt->entry_status != 0) { | 123 | if (ms_pkt->entry_status != 0) { |
124 | DEBUG2_3(printk("scsi(%ld): %s failed, error status (%x).\n", | 124 | DEBUG2_3(printk(KERN_WARNING "scsi(%ld): %s failed, error status " |
125 | vha->host_no, routine, ms_pkt->entry_status)); | 125 | "(%x) on port_id: %02x%02x%02x.\n", |
126 | vha->host_no, routine, ms_pkt->entry_status, | ||
127 | vha->d_id.b.domain, vha->d_id.b.area, | ||
128 | vha->d_id.b.al_pa)); | ||
126 | } else { | 129 | } else { |
127 | if (IS_FWI2_CAPABLE(ha)) | 130 | if (IS_FWI2_CAPABLE(ha)) |
128 | comp_status = le16_to_cpu( | 131 | comp_status = le16_to_cpu( |
@@ -136,8 +139,10 @@ qla2x00_chk_ms_status(scsi_qla_host_t *vha, ms_iocb_entry_t *ms_pkt, | |||
136 | if (ct_rsp->header.response != | 139 | if (ct_rsp->header.response != |
137 | __constant_cpu_to_be16(CT_ACCEPT_RESPONSE)) { | 140 | __constant_cpu_to_be16(CT_ACCEPT_RESPONSE)) { |
138 | DEBUG2_3(printk("scsi(%ld): %s failed, " | 141 | DEBUG2_3(printk("scsi(%ld): %s failed, " |
139 | "rejected request:\n", vha->host_no, | 142 | "rejected request on port_id: %02x%02x%02x\n", |
140 | routine)); | 143 | vha->host_no, routine, |
144 | vha->d_id.b.domain, vha->d_id.b.area, | ||
145 | vha->d_id.b.al_pa)); | ||
141 | DEBUG2_3(qla2x00_dump_buffer( | 146 | DEBUG2_3(qla2x00_dump_buffer( |
142 | (uint8_t *)&ct_rsp->header, | 147 | (uint8_t *)&ct_rsp->header, |
143 | sizeof(struct ct_rsp_hdr))); | 148 | sizeof(struct ct_rsp_hdr))); |
@@ -147,8 +152,10 @@ qla2x00_chk_ms_status(scsi_qla_host_t *vha, ms_iocb_entry_t *ms_pkt, | |||
147 | break; | 152 | break; |
148 | default: | 153 | default: |
149 | DEBUG2_3(printk("scsi(%ld): %s failed, completion " | 154 | DEBUG2_3(printk("scsi(%ld): %s failed, completion " |
150 | "status (%x).\n", vha->host_no, routine, | 155 | "status (%x) on port_id: %02x%02x%02x.\n", |
151 | comp_status)); | 156 | vha->host_no, routine, comp_status, |
157 | vha->d_id.b.domain, vha->d_id.b.area, | ||
158 | vha->d_id.b.al_pa)); | ||
152 | break; | 159 | break; |
153 | } | 160 | } |
154 | } | 161 | } |
@@ -1965,7 +1972,7 @@ qla2x00_gff_id(scsi_qla_host_t *vha, sw_info_t *list) | |||
1965 | "scsi(%ld): GFF_ID issue IOCB failed " | 1972 | "scsi(%ld): GFF_ID issue IOCB failed " |
1966 | "(%d).\n", vha->host_no, rval)); | 1973 | "(%d).\n", vha->host_no, rval)); |
1967 | } else if (qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp, | 1974 | } else if (qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp, |
1968 | "GPN_ID") != QLA_SUCCESS) { | 1975 | "GFF_ID") != QLA_SUCCESS) { |
1969 | DEBUG2_3(printk(KERN_INFO | 1976 | DEBUG2_3(printk(KERN_INFO |
1970 | "scsi(%ld): GFF_ID IOCB status had a " | 1977 | "scsi(%ld): GFF_ID IOCB status had a " |
1971 | "failure status code\n", vha->host_no)); | 1978 | "failure status code\n", vha->host_no)); |