From 8e4bff4cab0ddac6060645b0715210484d02ff40 Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Wed, 30 Aug 2017 08:25:59 +0000 Subject: Initial file dump from open source release --- include/linux/fd.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 include/linux/fd.h (limited to 'include/linux/fd.h') diff --git a/include/linux/fd.h b/include/linux/fd.h new file mode 100644 index 00000000..69275bcc --- /dev/null +++ b/include/linux/fd.h @@ -0,0 +1,24 @@ +#ifndef _LINUX_FD_H +#define _LINUX_FD_H + +#include + +#ifdef CONFIG_COMPAT +#include + +struct compat_floppy_struct { + compat_uint_t size; + compat_uint_t sect; + compat_uint_t head; + compat_uint_t track; + compat_uint_t stretch; + unsigned char gap; + unsigned char rate; + unsigned char spec1; + unsigned char fmt_gap; + const compat_caddr_t name; +}; + +#define FDGETPRM32 _IOR(2, 0x04, struct compat_floppy_struct) +#endif +#endif -- cgit v1.3.1