diff options
Diffstat (limited to 'drivers/s390/scsi/zfcp_fc.h')
-rw-r--r-- | drivers/s390/scsi/zfcp_fc.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/s390/scsi/zfcp_fc.h b/drivers/s390/scsi/zfcp_fc.h index 814fc2d2525a..231e231b7fd7 100644 --- a/drivers/s390/scsi/zfcp_fc.h +++ b/drivers/s390/scsi/zfcp_fc.h | |||
@@ -10,11 +10,28 @@ | |||
10 | #ifndef ZFCP_FC_H | 10 | #ifndef ZFCP_FC_H |
11 | #define ZFCP_FC_H | 11 | #define ZFCP_FC_H |
12 | 12 | ||
13 | #include <scsi/fc/fc_els.h> | ||
13 | #include <scsi/fc/fc_fcp.h> | 14 | #include <scsi/fc/fc_fcp.h> |
14 | #include <scsi/scsi_cmnd.h> | 15 | #include <scsi/scsi_cmnd.h> |
15 | #include <scsi/scsi_tcq.h> | 16 | #include <scsi/scsi_tcq.h> |
16 | 17 | ||
17 | /** | 18 | /** |
19 | * struct zfcp_fc_els_adisc - everything required in zfcp for issuing ELS ADISC | ||
20 | * @els: data required for issuing els fsf command | ||
21 | * @req: scatterlist entry for ELS ADISC request | ||
22 | * @resp: scatterlist entry for ELS ADISC response | ||
23 | * @adisc_req: ELS ADISC request data | ||
24 | * @adisc_resp: ELS ADISC response data | ||
25 | */ | ||
26 | struct zfcp_fc_els_adisc { | ||
27 | struct zfcp_send_els els; | ||
28 | struct scatterlist req; | ||
29 | struct scatterlist resp; | ||
30 | struct fc_els_adisc adisc_req; | ||
31 | struct fc_els_adisc adisc_resp; | ||
32 | }; | ||
33 | |||
34 | /** | ||
18 | * zfcp_fc_scsi_to_fcp - setup FCP command with data from scsi_cmnd | 35 | * zfcp_fc_scsi_to_fcp - setup FCP command with data from scsi_cmnd |
19 | * @fcp: fcp_cmnd to setup | 36 | * @fcp: fcp_cmnd to setup |
20 | * @scsi: scsi_cmnd where to get LUN, task attributes/flags and CDB | 37 | * @scsi: scsi_cmnd where to get LUN, task attributes/flags and CDB |