fd.h 451 B

123456789101112131415161718192021222324
  1. #ifndef _LINUX_FD_H
  2. #define _LINUX_FD_H
  3. #include <uapi/linux/fd.h>
  4. #ifdef CONFIG_COMPAT
  5. #include <linux/compat.h>
  6. struct compat_floppy_struct {
  7. compat_uint_t size;
  8. compat_uint_t sect;
  9. compat_uint_t head;
  10. compat_uint_t track;
  11. compat_uint_t stretch;
  12. unsigned char gap;
  13. unsigned char rate;
  14. unsigned char spec1;
  15. unsigned char fmt_gap;
  16. const compat_caddr_t name;
  17. };
  18. #define FDGETPRM32 _IOR(2, 0x04, struct compat_floppy_struct)
  19. #endif
  20. #endif