aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/scsi/zfcp_fsf.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/s390/scsi/zfcp_fsf.h')
-rw-r--r--drivers/s390/scsi/zfcp_fsf.h20
1 files changed, 2 insertions, 18 deletions
diff --git a/drivers/s390/scsi/zfcp_fsf.h b/drivers/s390/scsi/zfcp_fsf.h
index dcc7c1dbcf58..402e0235a357 100644
--- a/drivers/s390/scsi/zfcp_fsf.h
+++ b/drivers/s390/scsi/zfcp_fsf.h
@@ -309,22 +309,7 @@ struct fsf_qtcb_header {
309 u8 res4[16]; 309 u8 res4[16];
310} __attribute__ ((packed)); 310} __attribute__ ((packed));
311 311
312struct fsf_nport_serv_param {
313 u8 common_serv_param[16];
314 u64 wwpn;
315 u64 wwnn;
316 u8 class1_serv_param[16];
317 u8 class2_serv_param[16];
318 u8 class3_serv_param[16];
319 u8 class4_serv_param[16];
320 u8 vendor_version_level[16];
321} __attribute__ ((packed));
322
323#define FSF_PLOGI_MIN_LEN 112 312#define FSF_PLOGI_MIN_LEN 112
324struct fsf_plogi {
325 u32 code;
326 struct fsf_nport_serv_param serv_param;
327} __attribute__ ((packed));
328 313
329#define FSF_FCP_CMND_SIZE 288 314#define FSF_FCP_CMND_SIZE 288
330#define FSF_FCP_RSP_SIZE 128 315#define FSF_FCP_RSP_SIZE 128
@@ -377,13 +362,12 @@ struct fsf_qtcb_bottom_config {
377 u16 timer_interval; 362 u16 timer_interval;
378 u8 res2[8]; 363 u8 res2[8];
379 u32 s_id; 364 u32 s_id;
380 struct fsf_nport_serv_param nport_serv_param; 365 u8 nport_serv_param[128];
381 u8 reserved_nport_serv_param[16];
382 u8 res3[8]; 366 u8 res3[8];
383 u32 adapter_ports; 367 u32 adapter_ports;
384 u32 hardware_version; 368 u32 hardware_version;
385 u8 serial_number[32]; 369 u8 serial_number[32];
386 struct fsf_nport_serv_param plogi_payload; 370 u8 plogi_payload[112];
387 struct fsf_statistics_info stat_info; 371 struct fsf_statistics_info stat_info;
388 u8 res4[112]; 372 u8 res4[112];
389} __attribute__ ((packed)); 373} __attribute__ ((packed));