0001
0002 #ifndef _LINUX_FD_H
0003 #define _LINUX_FD_H
0004
0005 #include <uapi/linux/fd.h>
0006
0007 #ifdef CONFIG_COMPAT
0008 #include <linux/compat.h>
0009
0010 struct compat_floppy_struct {
0011 compat_uint_t size;
0012 compat_uint_t sect;
0013 compat_uint_t head;
0014 compat_uint_t track;
0015 compat_uint_t stretch;
0016 unsigned char gap;
0017 unsigned char rate;
0018 unsigned char spec1;
0019 unsigned char fmt_gap;
0020 const compat_caddr_t name;
0021 };
0022
0023 #define FDGETPRM32 _IOR(2, 0x04, struct compat_floppy_struct)
0024 #endif
0025 #endif