mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-28 20:02:17 +00:00
![David Howells](/assets/img/avatar_default.png)
Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Michael Kerrisk <mtk.manpages@gmail.com> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Acked-by: Dave Jones <davej@redhat.com>
24 lines
451 B
C
24 lines
451 B
C
#ifndef _LINUX_FD_H
|
|
#define _LINUX_FD_H
|
|
|
|
#include <uapi/linux/fd.h>
|
|
|
|
#ifdef CONFIG_COMPAT
|
|
#include <linux/compat.h>
|
|
|
|
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
|