Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | #ifndef _LINUX_FD_H |
2 | #define _LINUX_FD_H | |
3 | ||
607ca46e | 4 | #include <uapi/linux/fd.h> |
1da177e4 | 5 | |
390192b3 | 6 | #ifdef CONFIG_COMPAT |
719c0c59 JS |
7 | #include <linux/compat.h> |
8 | ||
390192b3 JS |
9 | struct compat_floppy_struct { |
10 | compat_uint_t size; | |
11 | compat_uint_t sect; | |
12 | compat_uint_t head; | |
13 | compat_uint_t track; | |
14 | compat_uint_t stretch; | |
15 | unsigned char gap; | |
16 | unsigned char rate; | |
17 | unsigned char spec1; | |
18 | unsigned char fmt_gap; | |
19 | const compat_caddr_t name; | |
20 | }; | |
21 | ||
22 | #define FDGETPRM32 _IOR(2, 0x04, struct compat_floppy_struct) | |
23 | #endif | |
719c0c59 | 24 | #endif |