| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef CCISS_IOCTLH | 
 | 2 | #define CCISS_IOCTLH | 
 | 3 |  | 
| David Howells | 607ca46 | 2012-10-13 10:46:48 +0100 | [diff] [blame] | 4 | #include <uapi/linux/cciss_ioctl.h> | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 5 |  | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 6 | #ifdef CONFIG_COMPAT | 
 | 7 |  | 
 | 8 | /* 32 bit compatible ioctl structs */ | 
 | 9 | typedef struct _IOCTL32_Command_struct { | 
 | 10 |   LUNAddr_struct	   LUN_info; | 
 | 11 |   RequestBlock_struct      Request; | 
 | 12 |   ErrorInfo_struct  	   error_info; | 
 | 13 |   WORD			   buf_size;  /* size in bytes of the buf */ | 
 | 14 |   __u32			   buf; /* 32 bit pointer to data buffer */ | 
 | 15 | } IOCTL32_Command_struct; | 
 | 16 |  | 
 | 17 | typedef struct _BIG_IOCTL32_Command_struct { | 
 | 18 |   LUNAddr_struct	   LUN_info; | 
 | 19 |   RequestBlock_struct      Request; | 
 | 20 |   ErrorInfo_struct  	   error_info; | 
 | 21 |   DWORD			   malloc_size; /* < MAX_KMALLOC_SIZE in cciss.c */ | 
 | 22 |   DWORD			   buf_size;    /* size in bytes of the buf */ | 
 | 23 |   				        /* < malloc_size * MAXSGENTRIES */ | 
 | 24 |   __u32 		buf;	/* 32 bit pointer to data buffer */ | 
 | 25 | } BIG_IOCTL32_Command_struct; | 
 | 26 |  | 
 | 27 | #define CCISS_PASSTHRU32   _IOWR(CCISS_IOC_MAGIC, 11, IOCTL32_Command_struct) | 
 | 28 | #define CCISS_BIG_PASSTHRU32 _IOWR(CCISS_IOC_MAGIC, 18, BIG_IOCTL32_Command_struct) | 
 | 29 |  | 
 | 30 | #endif /* CONFIG_COMPAT */ | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 31 | #endif   |