Blame view

kernel/linux-imx6_3.14.28/include/linux/fd.h 451 Bytes
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
  #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