diff options
Diffstat (limited to 'drivers/s390/scsi/zfcp_dbf.h')
-rw-r--r-- | drivers/s390/scsi/zfcp_dbf.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/drivers/s390/scsi/zfcp_dbf.h b/drivers/s390/scsi/zfcp_dbf.h index 6b1461e8f847..8b7fd9a1033e 100644 --- a/drivers/s390/scsi/zfcp_dbf.h +++ b/drivers/s390/scsi/zfcp_dbf.h | |||
@@ -22,6 +22,7 @@ | |||
22 | #ifndef ZFCP_DBF_H | 22 | #ifndef ZFCP_DBF_H |
23 | #define ZFCP_DBF_H | 23 | #define ZFCP_DBF_H |
24 | 24 | ||
25 | #include <scsi/fc/fc_fcp.h> | ||
25 | #include "zfcp_ext.h" | 26 | #include "zfcp_ext.h" |
26 | #include "zfcp_fsf.h" | 27 | #include "zfcp_fsf.h" |
27 | #include "zfcp_def.h" | 28 | #include "zfcp_def.h" |
@@ -122,7 +123,6 @@ struct zfcp_dbf_hba_record_response { | |||
122 | } unit; | 123 | } unit; |
123 | struct { | 124 | struct { |
124 | u32 d_id; | 125 | u32 d_id; |
125 | u8 ls_code; | ||
126 | } els; | 126 | } els; |
127 | } u; | 127 | } u; |
128 | } __attribute__ ((packed)); | 128 | } __attribute__ ((packed)); |
@@ -166,6 +166,7 @@ struct zfcp_dbf_san_record_ct_request { | |||
166 | u8 options; | 166 | u8 options; |
167 | u16 max_res_size; | 167 | u16 max_res_size; |
168 | u32 len; | 168 | u32 len; |
169 | u32 d_id; | ||
169 | } __attribute__ ((packed)); | 170 | } __attribute__ ((packed)); |
170 | 171 | ||
171 | struct zfcp_dbf_san_record_ct_response { | 172 | struct zfcp_dbf_san_record_ct_response { |
@@ -179,16 +180,13 @@ struct zfcp_dbf_san_record_ct_response { | |||
179 | } __attribute__ ((packed)); | 180 | } __attribute__ ((packed)); |
180 | 181 | ||
181 | struct zfcp_dbf_san_record_els { | 182 | struct zfcp_dbf_san_record_els { |
182 | u8 ls_code; | 183 | u32 d_id; |
183 | u32 len; | ||
184 | } __attribute__ ((packed)); | 184 | } __attribute__ ((packed)); |
185 | 185 | ||
186 | struct zfcp_dbf_san_record { | 186 | struct zfcp_dbf_san_record { |
187 | u8 tag[ZFCP_DBF_TAG_SIZE]; | 187 | u8 tag[ZFCP_DBF_TAG_SIZE]; |
188 | u64 fsf_reqid; | 188 | u64 fsf_reqid; |
189 | u32 fsf_seqno; | 189 | u32 fsf_seqno; |
190 | u32 s_id; | ||
191 | u32 d_id; | ||
192 | union { | 190 | union { |
193 | struct zfcp_dbf_san_record_ct_request ct_req; | 191 | struct zfcp_dbf_san_record_ct_request ct_req; |
194 | struct zfcp_dbf_san_record_ct_response ct_resp; | 192 | struct zfcp_dbf_san_record_ct_response ct_resp; |
@@ -343,7 +341,7 @@ static inline | |||
343 | void zfcp_dbf_scsi_devreset(const char *tag, u8 flag, struct zfcp_unit *unit, | 341 | void zfcp_dbf_scsi_devreset(const char *tag, u8 flag, struct zfcp_unit *unit, |
344 | struct scsi_cmnd *scsi_cmnd) | 342 | struct scsi_cmnd *scsi_cmnd) |
345 | { | 343 | { |
346 | zfcp_dbf_scsi(flag == FCP_TARGET_RESET ? "trst" : "lrst", tag, 1, | 344 | zfcp_dbf_scsi(flag == FCP_TMF_TGT_RESET ? "trst" : "lrst", tag, 1, |
347 | unit->port->adapter->dbf, scsi_cmnd, NULL, 0); | 345 | unit->port->adapter->dbf, scsi_cmnd, NULL, 0); |
348 | } | 346 | } |
349 | 347 | ||