aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorSaurav Kashyap <saurav.kashyap@qlogic.com>2011-05-10 14:30:12 -0400
committerJames Bottomley <jbottomley@parallels.com>2011-05-17 03:34:37 -0400
commit24014d046485e1947dfb5d79365472d9981cda1e (patch)
tree4b3c972434a3fcee8b8de5892d153d6bfdcbef31 /drivers/scsi
parent1bff6cc8fbb73d6bed809d3eff18e90c175a601c (diff)
[SCSI] qla2xxx: Add host number in reset and quiescent message logs.
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com> Signed-off-by: Madhuranath Iyengar <Madhu.Iyengar@qlogic.com> Signed-off-by: James Bottomley <jbottomley@parallels.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/qla2xxx/qla_nx.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/scsi/qla2xxx/qla_nx.c b/drivers/scsi/qla2xxx/qla_nx.c
index 5d5b603acc8c..e1138bcc834c 100644
--- a/drivers/scsi/qla2xxx/qla_nx.c
+++ b/drivers/scsi/qla2xxx/qla_nx.c
@@ -3657,7 +3657,8 @@ void qla82xx_watchdog(scsi_qla_host_t *vha)
3657 if (dev_state == QLA82XX_DEV_NEED_RESET && 3657 if (dev_state == QLA82XX_DEV_NEED_RESET &&
3658 !test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags)) { 3658 !test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags)) {
3659 qla_printk(KERN_WARNING, ha, 3659 qla_printk(KERN_WARNING, ha,
3660 "%s(): Adapter reset needed!\n", __func__); 3660 "scsi(%ld) %s: Adapter reset needed!\n",
3661 vha->host_no, __func__);
3661 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); 3662 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags);
3662 qla2xxx_wake_dpc(vha); 3663 qla2xxx_wake_dpc(vha);
3663 } else if (dev_state == QLA82XX_DEV_NEED_QUIESCENT && 3664 } else if (dev_state == QLA82XX_DEV_NEED_QUIESCENT &&
@@ -3704,8 +3705,9 @@ void qla82xx_watchdog(scsi_qla_host_t *vha)
3704 if (ha->flags.mbox_busy) { 3705 if (ha->flags.mbox_busy) {
3705 ha->flags.mbox_int = 1; 3706 ha->flags.mbox_int = 1;
3706 DEBUG2(qla_printk(KERN_ERR, ha, 3707 DEBUG2(qla_printk(KERN_ERR, ha,
3707 "Due to fw hung, doing premature " 3708 "scsi(%ld) Due to fw hung, doing "
3708 "completion of mbx command\n")); 3709 "premature completion of mbx "
3710 "command\n", vha->host_no));
3709 if (test_bit(MBX_INTR_WAIT, 3711 if (test_bit(MBX_INTR_WAIT,
3710 &ha->mbx_cmd_flags)) 3712 &ha->mbx_cmd_flags))
3711 complete(&ha->mbx_intr_comp); 3713 complete(&ha->mbx_intr_comp);