diff options
author | Swen Schillig <swen@vnet.ibm.com> | 2011-08-15 08:40:31 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-08-27 10:37:02 -0400 |
commit | dfe5bb506172307e43287b8962348fb85801c0f4 (patch) | |
tree | e0d37e3d37068b39b886a3895f1cfacc7fb8c04f /arch | |
parent | cc405acee244310cc87ddc5e3f4bc61342ec8161 (diff) |
[SCSI] qdio: base support for hardware data router with zfcp
FICON Express8S supports hardware data router, which requires an
adapted qdio request format.
This part 1/2 provides the qdio base required for exploitation in
zfcp.
Signed-off-by: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: Steffen Maier <maier@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/s390/include/asm/qdio.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/s390/include/asm/qdio.h b/arch/s390/include/asm/qdio.h index 15c97625df8d..cbbf7d831a33 100644 --- a/arch/s390/include/asm/qdio.h +++ b/arch/s390/include/asm/qdio.h | |||
@@ -46,6 +46,8 @@ struct qdesfmt0 { | |||
46 | u32 : 16; | 46 | u32 : 16; |
47 | } __attribute__ ((packed)); | 47 | } __attribute__ ((packed)); |
48 | 48 | ||
49 | #define QDR_AC_MULTI_BUFFER_ENABLE 0x01 | ||
50 | |||
49 | /** | 51 | /** |
50 | * struct qdr - queue description record (QDR) | 52 | * struct qdr - queue description record (QDR) |
51 | * @qfmt: queue format | 53 | * @qfmt: queue format |
@@ -222,6 +224,8 @@ struct slsb { | |||
222 | u8 val[QDIO_MAX_BUFFERS_PER_Q]; | 224 | u8 val[QDIO_MAX_BUFFERS_PER_Q]; |
223 | } __attribute__ ((packed, aligned(256))); | 225 | } __attribute__ ((packed, aligned(256))); |
224 | 226 | ||
227 | #define CHSC_AC2_MULTI_BUFFER_AVAILABLE 0x0080 | ||
228 | #define CHSC_AC2_MULTI_BUFFER_ENABLED 0x0040 | ||
225 | #define CHSC_AC2_DATA_DIV_AVAILABLE 0x0010 | 229 | #define CHSC_AC2_DATA_DIV_AVAILABLE 0x0010 |
226 | #define CHSC_AC2_DATA_DIV_ENABLED 0x0002 | 230 | #define CHSC_AC2_DATA_DIV_ENABLED 0x0002 |
227 | 231 | ||
@@ -287,6 +291,7 @@ typedef void qdio_handler_t(struct ccw_device *, unsigned int, int, | |||
287 | struct qdio_initialize { | 291 | struct qdio_initialize { |
288 | struct ccw_device *cdev; | 292 | struct ccw_device *cdev; |
289 | unsigned char q_format; | 293 | unsigned char q_format; |
294 | unsigned char qdr_ac; | ||
290 | unsigned char adapter_name[8]; | 295 | unsigned char adapter_name[8]; |
291 | unsigned int qib_param_field_format; | 296 | unsigned int qib_param_field_format; |
292 | unsigned char *qib_param_field; | 297 | unsigned char *qib_param_field; |