My Project
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros Pages
gps.h
1 /*---------------------------------------------------------------------------
2  * Filename: gps_driver.h
3  * Author: Erik Leitch
4  * Date: July-2002
5  * Platform: Linux
6  * Purpose: Test device driver
7  *---------------------------------------------------------------------------
8  * References:
9  *
10  * [Pom99] "The Linux Kernel Module Programming Guide", O. Pomerantz, 1999.
11  * [Rub98] "Linux Device Drivers", A. Rubini, 1998.
12  * [Mat99] "Beginning Linux Programming", N. Matthew and R. Stones, 1999
13  *
14  *---------------------------------------------------------------------------
15  */
16 
17 /*---------------------------------------------------------------------------
18  * IOCTL code definitions
19  *---------------------------------------------------------------------------
20  *
21  * DEBUG - if the code is compiled with the flag DEBUG defined, then
22  * this IOCTL call can be used to turn debugging messages
23  * on (1 = default) or off (write 0).
24  *
25  */
26 
27 #define ACU_IOCTL_BASE 0xbb
28 #define ACU_IOCTL_DEBUG_GET _IOR(ACU_IOCTL_BASE, 0, char)
29 #define ACU_IOCTL_DEBUG_SET _IOW(ACU_IOCTL_BASE, 1, char)
30 #define ACU_IOCTL_SIGIO _IOW(ACU_IOCTL_BASE, 2, char)
31 #define ACU_IOCTL_CLEAR _IOW(ACU_IOCTL_BASE, 3, char)
32 
33