diff options
Diffstat (limited to 'drivers/s390/scsi/zfcp_fsf.h')
-rw-r--r-- | drivers/s390/scsi/zfcp_fsf.h | 38 |
1 files changed, 6 insertions, 32 deletions
diff --git a/drivers/s390/scsi/zfcp_fsf.h b/drivers/s390/scsi/zfcp_fsf.h index e734415cae6d..71186618947c 100644 --- a/drivers/s390/scsi/zfcp_fsf.h +++ b/drivers/s390/scsi/zfcp_fsf.h | |||
@@ -1,19 +1,8 @@ | |||
1 | /* | 1 | /* |
2 | * | 2 | * This file is part of the zfcp device driver for |
3 | * linux/drivers/s390/scsi/zfcp_fsf.h | 3 | * FCP adapters for IBM System z9 and zSeries. |
4 | * | ||
5 | * FCP adapter driver for IBM eServer zSeries | ||
6 | * | ||
7 | * (C) Copyright IBM Corp. 2002, 2004 | ||
8 | * | 4 | * |
9 | * Author(s): Martin Peschke <mpeschke@de.ibm.com> | 5 | * (C) Copyright IBM Corp. 2002, 2006 |
10 | * Raimund Schroeder <raimund.schroeder@de.ibm.com> | ||
11 | * Aron Zeh | ||
12 | * Wolfgang Taphorn | ||
13 | * Stefan Bader <stefan.bader@de.ibm.com> | ||
14 | * Heiko Carstens <heiko.carstens@de.ibm.com> | ||
15 | * Andreas Herrmann <aherrman@de.ibm.com> | ||
16 | * Volker Sameske <sameske@de.ibm.com> | ||
17 | * | 6 | * |
18 | * This program is free software; you can redistribute it and/or modify | 7 | * This program is free software; you can redistribute it and/or modify |
19 | * it under the terms of the GNU General Public License as published by | 8 | * it under the terms of the GNU General Public License as published by |
@@ -33,8 +22,7 @@ | |||
33 | #ifndef FSF_H | 22 | #ifndef FSF_H |
34 | #define FSF_H | 23 | #define FSF_H |
35 | 24 | ||
36 | #define FSF_QTCB_VERSION1 0x00000001 | 25 | #define FSF_QTCB_CURRENT_VERSION 0x00000001 |
37 | #define FSF_QTCB_CURRENT_VERSION FSF_QTCB_VERSION1 | ||
38 | 26 | ||
39 | /* FSF commands */ | 27 | /* FSF commands */ |
40 | #define FSF_QTCB_FCP_CMND 0x00000001 | 28 | #define FSF_QTCB_FCP_CMND 0x00000001 |
@@ -64,7 +52,7 @@ | |||
64 | #define FSF_CFDC_OPTION_FULL_ACCESS 0x00000002 | 52 | #define FSF_CFDC_OPTION_FULL_ACCESS 0x00000002 |
65 | #define FSF_CFDC_OPTION_RESTRICTED_ACCESS 0x00000004 | 53 | #define FSF_CFDC_OPTION_RESTRICTED_ACCESS 0x00000004 |
66 | 54 | ||
67 | /* FSF protocol stati */ | 55 | /* FSF protocol states */ |
68 | #define FSF_PROT_GOOD 0x00000001 | 56 | #define FSF_PROT_GOOD 0x00000001 |
69 | #define FSF_PROT_QTCB_VERSION_ERROR 0x00000010 | 57 | #define FSF_PROT_QTCB_VERSION_ERROR 0x00000010 |
70 | #define FSF_PROT_SEQ_NUMB_ERROR 0x00000020 | 58 | #define FSF_PROT_SEQ_NUMB_ERROR 0x00000020 |
@@ -76,7 +64,7 @@ | |||
76 | #define FSF_PROT_REEST_QUEUE 0x00000800 | 64 | #define FSF_PROT_REEST_QUEUE 0x00000800 |
77 | #define FSF_PROT_ERROR_STATE 0x01000000 | 65 | #define FSF_PROT_ERROR_STATE 0x01000000 |
78 | 66 | ||
79 | /* FSF stati */ | 67 | /* FSF states */ |
80 | #define FSF_GOOD 0x00000000 | 68 | #define FSF_GOOD 0x00000000 |
81 | #define FSF_PORT_ALREADY_OPEN 0x00000001 | 69 | #define FSF_PORT_ALREADY_OPEN 0x00000001 |
82 | #define FSF_LUN_ALREADY_OPEN 0x00000002 | 70 | #define FSF_LUN_ALREADY_OPEN 0x00000002 |
@@ -269,20 +257,6 @@ | |||
269 | #define FSF_UNIT_ACCESS_EXCLUSIVE 0x02000000 | 257 | #define FSF_UNIT_ACCESS_EXCLUSIVE 0x02000000 |
270 | #define FSF_UNIT_ACCESS_OUTBOUND_TRANSFER 0x10000000 | 258 | #define FSF_UNIT_ACCESS_OUTBOUND_TRANSFER 0x10000000 |
271 | 259 | ||
272 | struct fsf_queue_designator; | ||
273 | struct fsf_status_read_buffer; | ||
274 | struct fsf_port_closed_payload; | ||
275 | struct fsf_bit_error_payload; | ||
276 | union fsf_prot_status_qual; | ||
277 | struct fsf_qual_version_error; | ||
278 | struct fsf_qual_sequence_error; | ||
279 | struct fsf_qtcb_prefix; | ||
280 | struct fsf_qtcb_header; | ||
281 | struct fsf_qtcb_bottom_config; | ||
282 | struct fsf_qtcb_bottom_support; | ||
283 | struct fsf_qtcb_bottom_io; | ||
284 | union fsf_qtcb_bottom; | ||
285 | |||
286 | struct fsf_queue_designator { | 260 | struct fsf_queue_designator { |
287 | u8 cssid; | 261 | u8 cssid; |
288 | u8 chpid; | 262 | u8 chpid; |