cciss_ioctl.h 1014 B

1234567891011121314151617181920212223242526272829303132
  1. #ifndef CCISS_IOCTLH
  2. #define CCISS_IOCTLH
  3. #include <uapi/linux/cciss_ioctl.h>
  4. #ifdef CONFIG_COMPAT
  5. /* 32 bit compatible ioctl structs */
  6. typedef struct _IOCTL32_Command_struct {
  7. LUNAddr_struct LUN_info;
  8. RequestBlock_struct Request;
  9. ErrorInfo_struct error_info;
  10. WORD buf_size; /* size in bytes of the buf */
  11. __u32 buf; /* 32 bit pointer to data buffer */
  12. } IOCTL32_Command_struct;
  13. typedef struct _BIG_IOCTL32_Command_struct {
  14. LUNAddr_struct LUN_info;
  15. RequestBlock_struct Request;
  16. ErrorInfo_struct error_info;
  17. DWORD malloc_size; /* < MAX_KMALLOC_SIZE in cciss.c */
  18. DWORD buf_size; /* size in bytes of the buf */
  19. /* < malloc_size * MAXSGENTRIES */
  20. __u32 buf; /* 32 bit pointer to data buffer */
  21. } BIG_IOCTL32_Command_struct;
  22. #define CCISS_PASSTHRU32 _IOWR(CCISS_IOC_MAGIC, 11, IOCTL32_Command_struct)
  23. #define CCISS_BIG_PASSTHRU32 _IOWR(CCISS_IOC_MAGIC, 18, BIG_IOCTL32_Command_struct)
  24. #endif /* CONFIG_COMPAT */
  25. #endif