2005-04-17 06:20:36 +08:00
|
|
|
#ifndef _LINUX_FD_H
|
|
|
|
#define _LINUX_FD_H
|
|
|
|
|
2012-10-13 17:46:48 +08:00
|
|
|
#include <uapi/linux/fd.h>
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2011-07-02 04:32:26 +08:00
|
|
|
#ifdef CONFIG_COMPAT
|
2011-07-07 14:18:18 +08:00
|
|
|
#include <linux/compat.h>
|
|
|
|
|
2011-07-02 04:32:26 +08:00
|
|
|
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
|
2011-07-07 14:18:18 +08:00
|
|
|
#endif
|