0001
0002 #ifndef CCISS_IOCTLH
0003 #define CCISS_IOCTLH
0004
0005 #include <uapi/linux/cciss_ioctl.h>
0006
0007 #ifdef CONFIG_COMPAT
0008
0009
0010 typedef struct _IOCTL32_Command_struct {
0011 LUNAddr_struct LUN_info;
0012 RequestBlock_struct Request;
0013 ErrorInfo_struct error_info;
0014 WORD buf_size;
0015 __u32 buf;
0016 } IOCTL32_Command_struct;
0017
0018 typedef struct _BIG_IOCTL32_Command_struct {
0019 LUNAddr_struct LUN_info;
0020 RequestBlock_struct Request;
0021 ErrorInfo_struct error_info;
0022 DWORD malloc_size;
0023 DWORD buf_size;
0024
0025 __u32 buf;
0026 } BIG_IOCTL32_Command_struct;
0027
0028 #define CCISS_PASSTHRU32 _IOWR(CCISS_IOC_MAGIC, 11, IOCTL32_Command_struct)
0029 #define CCISS_BIG_PASSTHRU32 _IOWR(CCISS_IOC_MAGIC, 18, BIG_IOCTL32_Command_struct)
0030
0031 #endif
0032 #endif