1 | #ifndef __paux_drv__ |
---|
2 | #define __paux_drv__ |
---|
3 | /*************************************************************************** |
---|
4 | * |
---|
5 | * $Header$ |
---|
6 | * |
---|
7 | * Copyright (c) 1999 ConnectTel, Inc. All Rights Reserved. |
---|
8 | * |
---|
9 | * MODULE DESCRIPTION: Prototype routines for the paux driver. |
---|
10 | * |
---|
11 | * by: Rosimildo da Silva: |
---|
12 | * rdasilva@connecttel.com |
---|
13 | * http://www.connecttel.com |
---|
14 | * |
---|
15 | * MODIFICATION/HISTORY: |
---|
16 | * |
---|
17 | * $Log$ |
---|
18 | ****************************************************************************/ |
---|
19 | |
---|
20 | /* functions */ |
---|
21 | #ifdef __cplusplus |
---|
22 | extern "C" { |
---|
23 | #endif |
---|
24 | |
---|
25 | /* paux prototype entry points */ |
---|
26 | rtems_device_driver paux_initialize( |
---|
27 | rtems_device_major_number, |
---|
28 | rtems_device_minor_number, |
---|
29 | void * |
---|
30 | ); |
---|
31 | |
---|
32 | rtems_device_driver paux_open( |
---|
33 | rtems_device_major_number, |
---|
34 | rtems_device_minor_number, |
---|
35 | void * |
---|
36 | ); |
---|
37 | |
---|
38 | rtems_device_driver paux_control( |
---|
39 | rtems_device_major_number, |
---|
40 | rtems_device_minor_number, |
---|
41 | void * |
---|
42 | ); |
---|
43 | |
---|
44 | rtems_device_driver paux_close( |
---|
45 | rtems_device_major_number, |
---|
46 | rtems_device_minor_number, |
---|
47 | void * |
---|
48 | ); |
---|
49 | |
---|
50 | |
---|
51 | rtems_device_driver paux_read( |
---|
52 | rtems_device_major_number, |
---|
53 | rtems_device_minor_number, |
---|
54 | void * |
---|
55 | ); |
---|
56 | |
---|
57 | rtems_device_driver paux_write( |
---|
58 | rtems_device_major_number, |
---|
59 | rtems_device_minor_number, |
---|
60 | void * |
---|
61 | ); |
---|
62 | |
---|
63 | rtems_device_driver paux_control( |
---|
64 | rtems_device_major_number, |
---|
65 | rtems_device_minor_number, |
---|
66 | void * |
---|
67 | ); |
---|
68 | |
---|
69 | #define PAUX_DRIVER_TABLE_ENTRY \ |
---|
70 | { paux_initialize, paux_open, paux_close, \ |
---|
71 | paux_read, paux_write, paux_control } |
---|
72 | |
---|
73 | #ifdef __cplusplus |
---|
74 | } |
---|
75 | #endif |
---|
76 | /* end of include file */ |
---|
77 | |
---|
78 | #endif /* __paux_drv__ */ |
---|
79 | |
---|
80 | |
---|