blob: ece5ea53205b55cb870c6055a4cd961e28a34435 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Linus Torvalds1da177e2005-04-16 15:20:36 -07002#ifndef _LINUX_FD_H
3#define _LINUX_FD_H
4
David Howells607ca462012-10-13 10:46:48 +01005#include <uapi/linux/fd.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -07006
Johannes Stezenbach390192b2011-07-01 22:32:26 +02007#ifdef CONFIG_COMPAT
Johannes Stezenbach719c0c52011-07-07 08:18:18 +02008#include <linux/compat.h>
9
Johannes Stezenbach390192b2011-07-01 22:32:26 +020010struct compat_floppy_struct {
11 compat_uint_t size;
12 compat_uint_t sect;
13 compat_uint_t head;
14 compat_uint_t track;
15 compat_uint_t stretch;
16 unsigned char gap;
17 unsigned char rate;
18 unsigned char spec1;
19 unsigned char fmt_gap;
20 const compat_caddr_t name;
21};
22
23#define FDGETPRM32 _IOR(2, 0x04, struct compat_floppy_struct)
24#endif
Johannes Stezenbach719c0c52011-07-07 08:18:18 +020025#endif