]> git.karo-electronics.de Git - karo-tx-linux.git/blob - include/linux/fd.h
Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
[karo-tx-linux.git] / include / linux / fd.h
1 #ifndef _LINUX_FD_H
2 #define _LINUX_FD_H
3
4 #include <uapi/linux/fd.h>
5
6 #ifdef CONFIG_COMPAT
7 #include <linux/compat.h>
8
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
24 #endif