diff options
Diffstat (limited to 'drivers/s390/scsi/zfcp_fc.h')
-rw-r--r-- | drivers/s390/scsi/zfcp_fc.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/drivers/s390/scsi/zfcp_fc.h b/drivers/s390/scsi/zfcp_fc.h index 0747b087390d..85c37d2b82c2 100644 --- a/drivers/s390/scsi/zfcp_fc.h +++ b/drivers/s390/scsi/zfcp_fc.h | |||
@@ -30,6 +30,30 @@ | |||
30 | #define ZFCP_FC_CTELS_TMO (2 * FC_DEF_R_A_TOV / 1000) | 30 | #define ZFCP_FC_CTELS_TMO (2 * FC_DEF_R_A_TOV / 1000) |
31 | 31 | ||
32 | /** | 32 | /** |
33 | * struct zfcp_fc_event - FC HBAAPI event for internal queueing from irq context | ||
34 | * @code: Event code | ||
35 | * @data: Event data | ||
36 | * @list: list_head for zfcp_fc_events list | ||
37 | */ | ||
38 | struct zfcp_fc_event { | ||
39 | enum fc_host_event_code code; | ||
40 | u32 data; | ||
41 | struct list_head list; | ||
42 | }; | ||
43 | |||
44 | /** | ||
45 | * struct zfcp_fc_events - Infrastructure for posting FC events from irq context | ||
46 | * @list: List for queueing of events from irq context to workqueue | ||
47 | * @list_lock: Lock for event list | ||
48 | * @work: work_struct for forwarding events in workqueue | ||
49 | */ | ||
50 | struct zfcp_fc_events { | ||
51 | struct list_head list; | ||
52 | spinlock_t list_lock; | ||
53 | struct work_struct work; | ||
54 | }; | ||
55 | |||
56 | /** | ||
33 | * struct zfcp_fc_gid_pn_req - container for ct header plus gid_pn request | 57 | * struct zfcp_fc_gid_pn_req - container for ct header plus gid_pn request |
34 | * @ct_hdr: FC GS common transport header | 58 | * @ct_hdr: FC GS common transport header |
35 | * @gid_pn: GID_PN request | 59 | * @gid_pn: GID_PN request |