diff options
author | Krishna Gudipati <kgudipat@brocade.com> | 2011-07-20 19:59:13 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-07-27 06:41:24 -0400 |
commit | 7826f304b1efa5ab839cf029742290f51c4fa009 (patch) | |
tree | 90b5271779b889c9b503cef0abf05e29286ade64 /drivers/scsi/bfa/bfi.h | |
parent | a53becc9a9dbe4f2961b2bba129b3b2624401021 (diff) |
[SCSI] bfa: Add FC-transport based Asynchronous Event Notification support.
- Added support to post vendor unique events on fc_host.
- Supports adapter, port, ioc, flash and remote port based AEN events.
Signed-off-by: Krishna Gudipati <kgudipat@brocade.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/bfa/bfi.h')
-rw-r--r-- | drivers/scsi/bfa/bfi.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/drivers/scsi/bfa/bfi.h b/drivers/scsi/bfa/bfi.h index 1e258d5f8aec..b2ba0b2e91b2 100644 --- a/drivers/scsi/bfa/bfi.h +++ b/drivers/scsi/bfa/bfi.h | |||
@@ -784,6 +784,17 @@ enum bfi_sfp_i2h_e { | |||
784 | }; | 784 | }; |
785 | 785 | ||
786 | /* | 786 | /* |
787 | * SFP state change notification | ||
788 | */ | ||
789 | struct bfi_sfp_scn_s { | ||
790 | struct bfi_mhdr_s mhr; /* host msg header */ | ||
791 | u8 event; | ||
792 | u8 sfpid; | ||
793 | u8 pomlvl; /* pom level: normal/warning/alarm */ | ||
794 | u8 is_elb; /* e-loopback */ | ||
795 | }; | ||
796 | |||
797 | /* | ||
787 | * SFP state | 798 | * SFP state |
788 | */ | 799 | */ |
789 | enum bfa_sfp_stat_e { | 800 | enum bfa_sfp_stat_e { |
@@ -926,6 +937,15 @@ struct bfi_flash_erase_rsp_s { | |||
926 | }; | 937 | }; |
927 | 938 | ||
928 | /* | 939 | /* |
940 | * Flash event notification | ||
941 | */ | ||
942 | struct bfi_flash_event_s { | ||
943 | struct bfi_mhdr_s mh; /* Common msg header */ | ||
944 | bfa_status_t status; | ||
945 | u32 param; | ||
946 | }; | ||
947 | |||
948 | /* | ||
929 | *---------------------------------------------------------------------- | 949 | *---------------------------------------------------------------------- |
930 | * DIAG | 950 | * DIAG |
931 | *---------------------------------------------------------------------- | 951 | *---------------------------------------------------------------------- |