https://github.com/torvalds/linux
Raw File
Tip revision: 81f70ba233d5f660e1ea5fe23260ee323af5d53a authored by Linus Torvalds on 20 February 2016, 21:39:35 UTC
Linux 4.5-rc5
Tip revision: 81f70ba
fd.h
#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
back to top