diff options
Diffstat (limited to 'drivers/s390/scsi/zfcp_def.h')
-rw-r--r-- | drivers/s390/scsi/zfcp_def.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/s390/scsi/zfcp_def.h b/drivers/s390/scsi/zfcp_def.h index 332c83eba6c7..659ec739706a 100644 --- a/drivers/s390/scsi/zfcp_def.h +++ b/drivers/s390/scsi/zfcp_def.h | |||
@@ -286,16 +286,27 @@ struct zfcp_rec_dbf_record_thread { | |||
286 | u32 running; | 286 | u32 running; |
287 | } __attribute__ ((packed)); | 287 | } __attribute__ ((packed)); |
288 | 288 | ||
289 | struct zfcp_rec_dbf_record_target { | ||
290 | u64 ref; | ||
291 | u32 status; | ||
292 | u32 d_id; | ||
293 | u64 wwpn; | ||
294 | u64 fcp_lun; | ||
295 | u32 erp_count; | ||
296 | } __attribute__ ((packed)); | ||
297 | |||
289 | struct zfcp_rec_dbf_record { | 298 | struct zfcp_rec_dbf_record { |
290 | u8 id; | 299 | u8 id; |
291 | u8 id2; | 300 | u8 id2; |
292 | union { | 301 | union { |
293 | struct zfcp_rec_dbf_record_thread thread; | 302 | struct zfcp_rec_dbf_record_thread thread; |
303 | struct zfcp_rec_dbf_record_target target; | ||
294 | } u; | 304 | } u; |
295 | } __attribute__ ((packed)); | 305 | } __attribute__ ((packed)); |
296 | 306 | ||
297 | enum { | 307 | enum { |
298 | ZFCP_REC_DBF_ID_THREAD, | 308 | ZFCP_REC_DBF_ID_THREAD, |
309 | ZFCP_REC_DBF_ID_TARGET, | ||
299 | }; | 310 | }; |
300 | 311 | ||
301 | struct zfcp_hba_dbf_record_response { | 312 | struct zfcp_hba_dbf_record_response { |