blob: 69275bccc3e486d53ca3a36a922dba8ea8908a66 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef _LINUX_FD_H
2#define _LINUX_FD_H
3
David Howells607ca462012-10-13 10:46:48 +01004#include <uapi/linux/fd.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -07005
Johannes Stezenbach390192b2011-07-01 22:32:26 +02006#ifdef CONFIG_COMPAT
Johannes Stezenbach719c0c52011-07-07 08:18:18 +02007#include <linux/compat.h>
8
Johannes Stezenbach390192b2011-07-01 22:32:26 +02009struct 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
Johannes Stezenbach719c0c52011-07-07 08:18:18 +020024#endif