aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/s390/include/asm/qdio.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/s390/include/asm/qdio.h b/arch/s390/include/asm/qdio.h
index 21993623da9a..e63d13dd3bf5 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
@@ -256,6 +258,8 @@ struct slsb {
256 u8 val[QDIO_MAX_BUFFERS_PER_Q]; 258 u8 val[QDIO_MAX_BUFFERS_PER_Q];
257} __attribute__ ((packed, aligned(256))); 259} __attribute__ ((packed, aligned(256)));
258 260
261#define CHSC_AC2_MULTI_BUFFER_AVAILABLE 0x0080
262#define CHSC_AC2_MULTI_BUFFER_ENABLED 0x0040
259#define CHSC_AC2_DATA_DIV_AVAILABLE 0x0010 263#define CHSC_AC2_DATA_DIV_AVAILABLE 0x0010
260#define CHSC_AC2_DATA_DIV_ENABLED 0x0002 264#define CHSC_AC2_DATA_DIV_ENABLED 0x0002
261 265
@@ -357,6 +361,7 @@ typedef void qdio_handler_t(struct ccw_device *, unsigned int, int,
357struct qdio_initialize { 361struct qdio_initialize {
358 struct ccw_device *cdev; 362 struct ccw_device *cdev;
359 unsigned char q_format; 363 unsigned char q_format;
364 unsigned char qdr_ac;
360 unsigned char adapter_name[8]; 365 unsigned char adapter_name[8];
361 unsigned int qib_param_field_format; 366 unsigned int qib_param_field_format;
362 unsigned char *qib_param_field; 367 unsigned char *qib_param_field;