diff options
Diffstat (limited to 'arch/s390/include/uapi/asm/chsc.h')
-rw-r--r-- | arch/s390/include/uapi/asm/chsc.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/s390/include/uapi/asm/chsc.h b/arch/s390/include/uapi/asm/chsc.h index 1c6a7f85a581..65dc694725a8 100644 --- a/arch/s390/include/uapi/asm/chsc.h +++ b/arch/s390/include/uapi/asm/chsc.h | |||
@@ -29,6 +29,16 @@ struct chsc_async_area { | |||
29 | __u8 data[CHSC_SIZE - sizeof(struct chsc_async_header)]; | 29 | __u8 data[CHSC_SIZE - sizeof(struct chsc_async_header)]; |
30 | } __attribute__ ((packed)); | 30 | } __attribute__ ((packed)); |
31 | 31 | ||
32 | struct chsc_header { | ||
33 | __u16 length; | ||
34 | __u16 code; | ||
35 | } __attribute__ ((packed)); | ||
36 | |||
37 | struct chsc_sync_area { | ||
38 | struct chsc_header header; | ||
39 | __u8 data[CHSC_SIZE - sizeof(struct chsc_header)]; | ||
40 | } __attribute__ ((packed)); | ||
41 | |||
32 | struct chsc_response_struct { | 42 | struct chsc_response_struct { |
33 | __u16 length; | 43 | __u16 length; |
34 | __u16 code; | 44 | __u16 code; |
@@ -126,5 +136,8 @@ struct chsc_cpd_info { | |||
126 | #define CHSC_INFO_CCL _IOWR(CHSC_IOCTL_MAGIC, 0x86, struct chsc_comp_list) | 136 | #define CHSC_INFO_CCL _IOWR(CHSC_IOCTL_MAGIC, 0x86, struct chsc_comp_list) |
127 | #define CHSC_INFO_CPD _IOWR(CHSC_IOCTL_MAGIC, 0x87, struct chsc_cpd_info) | 137 | #define CHSC_INFO_CPD _IOWR(CHSC_IOCTL_MAGIC, 0x87, struct chsc_cpd_info) |
128 | #define CHSC_INFO_DCAL _IOWR(CHSC_IOCTL_MAGIC, 0x88, struct chsc_dcal) | 138 | #define CHSC_INFO_DCAL _IOWR(CHSC_IOCTL_MAGIC, 0x88, struct chsc_dcal) |
139 | #define CHSC_START_SYNC _IOWR(CHSC_IOCTL_MAGIC, 0x89, struct chsc_sync_area) | ||
140 | #define CHSC_ON_CLOSE_SET _IOWR(CHSC_IOCTL_MAGIC, 0x8a, struct chsc_async_area) | ||
141 | #define CHSC_ON_CLOSE_REMOVE _IO(CHSC_IOCTL_MAGIC, 0x8b) | ||
129 | 142 | ||
130 | #endif | 143 | #endif |