mirror of
https://github.com/torvalds/linux.git
synced 2024-12-03 17:41:22 +00:00
[SCSI] qla4xxx: Added print statements to display AENs
Added print statements for following AENs: 1. MBOX_ASTS_INITIALIZATION_FAILED 2. MBOX_ASTS_SYSTEM_WARNING_EVENT 3. MBOX_ASTS_DCBX_CONF_CHANGE 4. MBOX_ASTS_IPV6_DEFAULT_ROUTER_CHANGED Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com> Reviewed-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
This commit is contained in:
parent
a957a7d7b5
commit
78a4544885
@ -493,12 +493,16 @@ struct qla_flt_region {
|
||||
#define MBOX_ASTS_SUBNET_STATE_CHANGE 0x8027
|
||||
#define MBOX_ASTS_RESPONSE_QUEUE_FULL 0x8028
|
||||
#define MBOX_ASTS_IP_ADDR_STATE_CHANGED 0x8029
|
||||
#define MBOX_ASTS_IPV6_DEFAULT_ROUTER_CHANGED 0x802A
|
||||
#define MBOX_ASTS_IPV6_PREFIX_EXPIRED 0x802B
|
||||
#define MBOX_ASTS_IPV6_ND_PREFIX_IGNORED 0x802C
|
||||
#define MBOX_ASTS_IPV6_LCL_PREFIX_IGNORED 0x802D
|
||||
#define MBOX_ASTS_ICMPV6_ERROR_MSG_RCVD 0x802E
|
||||
#define MBOX_ASTS_INITIALIZATION_FAILED 0x8031
|
||||
#define MBOX_ASTS_SYSTEM_WARNING_EVENT 0x8036
|
||||
#define MBOX_ASTS_IDC_COMPLETE 0x8100
|
||||
#define MBOX_ASTS_IDC_REQUEST_NOTIFICATION 0x8101
|
||||
#define MBOX_ASTS_DCBX_CONF_CHANGE 0x8110
|
||||
#define MBOX_ASTS_TXSCVR_INSERTED 0x8130
|
||||
#define MBOX_ASTS_TXSCVR_REMOVED 0x8131
|
||||
|
||||
|
@ -875,6 +875,43 @@ static void qla4xxx_isr_decode_mailbox(struct scsi_qla_host * ha,
|
||||
}
|
||||
break;
|
||||
|
||||
case MBOX_ASTS_IPV6_DEFAULT_ROUTER_CHANGED:
|
||||
DEBUG2(ql4_printk(KERN_INFO, ha,
|
||||
"scsi%ld: AEN %04x, mbox_sts[1]=%08x, mbox_sts[2]=%08x, mbox_sts[3]=%08x, mbox_sts[4]=%08x mbox_sts[5]=%08x\n",
|
||||
ha->host_no, mbox_sts[0], mbox_sts[1],
|
||||
mbox_sts[2], mbox_sts[3], mbox_sts[4],
|
||||
mbox_sts[5]));
|
||||
DEBUG2(ql4_printk(KERN_INFO, ha,
|
||||
"scsi%ld: AEN %04x Received IPv6 default router changed notification\n",
|
||||
ha->host_no, mbox_sts[0]));
|
||||
break;
|
||||
|
||||
case MBOX_ASTS_INITIALIZATION_FAILED:
|
||||
DEBUG2(ql4_printk(KERN_INFO, ha,
|
||||
"scsi%ld: AEN %04x, mbox_sts[3]=%08x\n",
|
||||
ha->host_no, mbox_sts[0],
|
||||
mbox_sts[3]));
|
||||
break;
|
||||
|
||||
case MBOX_ASTS_SYSTEM_WARNING_EVENT:
|
||||
DEBUG2(ql4_printk(KERN_WARNING, ha,
|
||||
"scsi%ld: AEN %04x, mbox_sts[1]=%08x, mbox_sts[2]=%08x, mbox_sts[3]=%08x, mbox_sts[4]=%08x mbox_sts[5]=%08x\n",
|
||||
ha->host_no, mbox_sts[0], mbox_sts[1],
|
||||
mbox_sts[2], mbox_sts[3], mbox_sts[4],
|
||||
mbox_sts[5]));
|
||||
break;
|
||||
|
||||
case MBOX_ASTS_DCBX_CONF_CHANGE:
|
||||
DEBUG2(ql4_printk(KERN_INFO, ha,
|
||||
"scsi%ld: AEN %04x, mbox_sts[1]=%08x, mbox_sts[2]=%08x, mbox_sts[3]=%08x, mbox_sts[4]=%08x mbox_sts[5]=%08x\n",
|
||||
ha->host_no, mbox_sts[0], mbox_sts[1],
|
||||
mbox_sts[2], mbox_sts[3], mbox_sts[4],
|
||||
mbox_sts[5]));
|
||||
DEBUG2(ql4_printk(KERN_INFO, ha,
|
||||
"scsi%ld: AEN %04x Received DCBX configuration changed notification\n",
|
||||
ha->host_no, mbox_sts[0]));
|
||||
break;
|
||||
|
||||
default:
|
||||
DEBUG2(printk(KERN_WARNING
|
||||
"scsi%ld: AEN %04x UNKNOWN\n",
|
||||
|
Loading…
Reference in New Issue
Block a user