diff options
author | Shyam Sundar <shyam.sundar@qlogic.com> | 2010-10-07 01:49:40 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-10-25 15:51:23 -0400 |
commit | 6434080b127088606e03d2ecfe5ffdd797e38d63 (patch) | |
tree | 41fc18c7c9547df78b4676d330aa6c9797779e8b /drivers/scsi/qla4xxx/ql4_isr.c | |
parent | 99457d75f617873591bf886921154e304e603ab4 (diff) |
[SCSI] qla4xxx: Add support for 8130/8131 AENs.
AEN 8130 Corresponds to an event representing the insertion (detection)
of a transceiver. It also reports the type of the SFP+.
AEN 8131 corresponds to the removal of a transceiver.
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Signed-off-by: Shyam Sundar <shyam.sundar@qlogic.com>
Signed-off-by: Ravi Anand <ravi.anand@qlogic.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/qla4xxx/ql4_isr.c')
-rw-r--r-- | drivers/scsi/qla4xxx/ql4_isr.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_isr.c b/drivers/scsi/qla4xxx/ql4_isr.c index 1076fbf868c6..a5fa65562303 100644 --- a/drivers/scsi/qla4xxx/ql4_isr.c +++ b/drivers/scsi/qla4xxx/ql4_isr.c | |||
@@ -621,6 +621,18 @@ static void qla4xxx_isr_decode_mailbox(struct scsi_qla_host * ha, | |||
621 | } | 621 | } |
622 | break; | 622 | break; |
623 | 623 | ||
624 | case MBOX_ASTS_TXSCVR_INSERTED: | ||
625 | DEBUG2(printk(KERN_WARNING | ||
626 | "scsi%ld: AEN %04x Transceiver" | ||
627 | " inserted\n", ha->host_no, mbox_sts[0])); | ||
628 | break; | ||
629 | |||
630 | case MBOX_ASTS_TXSCVR_REMOVED: | ||
631 | DEBUG2(printk(KERN_WARNING | ||
632 | "scsi%ld: AEN %04x Transceiver" | ||
633 | " removed\n", ha->host_no, mbox_sts[0])); | ||
634 | break; | ||
635 | |||
624 | default: | 636 | default: |
625 | DEBUG2(printk(KERN_WARNING | 637 | DEBUG2(printk(KERN_WARNING |
626 | "scsi%ld: AEN %04x UNKNOWN\n", | 638 | "scsi%ld: AEN %04x UNKNOWN\n", |