fd.h 490 B

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