diff options
Diffstat (limited to 'arch/s390/include/asm/dasd.h')
-rw-r--r-- | arch/s390/include/asm/dasd.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/s390/include/asm/dasd.h b/arch/s390/include/asm/dasd.h index 3f002e13d024..55b2b80cdf6e 100644 --- a/arch/s390/include/asm/dasd.h +++ b/arch/s390/include/asm/dasd.h | |||
@@ -3,6 +3,8 @@ | |||
3 | * Author(s)......: Holger Smolinski <Holger.Smolinski@de.ibm.com> | 3 | * Author(s)......: Holger Smolinski <Holger.Smolinski@de.ibm.com> |
4 | * Bugreports.to..: <Linux390@de.ibm.com> | 4 | * Bugreports.to..: <Linux390@de.ibm.com> |
5 | * (C) IBM Corporation, IBM Deutschland Entwicklung GmbH, 1999,2000 | 5 | * (C) IBM Corporation, IBM Deutschland Entwicklung GmbH, 1999,2000 |
6 | * EMC Symmetrix ioctl Copyright EMC Corporation, 2008 | ||
7 | * Author.........: Nigel Hislop <hislop_nigel@emc.com> | ||
6 | * | 8 | * |
7 | * This file is the interface of the DASD device driver, which is exported to user space | 9 | * This file is the interface of the DASD device driver, which is exported to user space |
8 | * any future changes wrt the API will result in a change of the APIVERSION reported | 10 | * any future changes wrt the API will result in a change of the APIVERSION reported |
@@ -202,6 +204,16 @@ typedef struct attrib_data_t { | |||
202 | #define DASD_SEQ_PRESTAGE 0x4 | 204 | #define DASD_SEQ_PRESTAGE 0x4 |
203 | #define DASD_REC_ACCESS 0x5 | 205 | #define DASD_REC_ACCESS 0x5 |
204 | 206 | ||
207 | /* | ||
208 | * Perform EMC Symmetrix I/O | ||
209 | */ | ||
210 | typedef struct dasd_symmio_parms { | ||
211 | unsigned char reserved[8]; /* compat with older releases */ | ||
212 | unsigned long long psf_data; /* char * cast to u64 */ | ||
213 | unsigned long long rssd_result; /* char * cast to u64 */ | ||
214 | int psf_data_len; | ||
215 | int rssd_result_len; | ||
216 | } __attribute__ ((packed)) dasd_symmio_parms_t; | ||
205 | 217 | ||
206 | /******************************************************************************** | 218 | /******************************************************************************** |
207 | * SECTION: Definition of IOCTLs | 219 | * SECTION: Definition of IOCTLs |
@@ -247,6 +259,7 @@ typedef struct attrib_data_t { | |||
247 | /* Set Attributes (cache operations) */ | 259 | /* Set Attributes (cache operations) */ |
248 | #define BIODASDSATTR _IOW(DASD_IOCTL_LETTER,2,attrib_data_t) | 260 | #define BIODASDSATTR _IOW(DASD_IOCTL_LETTER,2,attrib_data_t) |
249 | 261 | ||
262 | #define BIODASDSYMMIO _IOWR(DASD_IOCTL_LETTER, 240, dasd_symmio_parms_t) | ||
250 | 263 | ||
251 | #endif /* DASD_H */ | 264 | #endif /* DASD_H */ |
252 | 265 | ||