mirror of
https://github.com/openharmony/third_party_Linux_Kernel.git
synced 2026-07-20 22:05:44 -04:00
7a09b52600
Change-Id: I8420a745de2a76dd4c0ea79b24da12653cbe7b52
25 lines
451 B
C
25 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
|