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 | * Revision 1.3 2004/04/21 10:42:44 ralf |
---|
19 | * Remove stray white spaces. |
---|
20 | * |
---|
21 | * Revision 1.2 2004/04/15 13:26:12 ralf |
---|
22 | * Remove stray white spaces. |
---|
23 | * |
---|
24 | * Revision 1.1 2000/08/30 08:15:30 joel |
---|
25 | * 2000-08-26 Rosimildo da Silva <rdasilva@connecttel.com> |
---|
26 | * |
---|
27 | * * Major rework of the "/dev/console" driver. |
---|
28 | * * Added termios support for stdin ( keyboard ). |
---|
29 | * * Added ioctls() to support modes similar to Linux( XLATE, |
---|
30 | * RAW, MEDIUMRAW ). |
---|
31 | * * Added Keyboard mapping and handling of the keyboard's leds. |
---|
32 | * * Added Micro FrameBuffer driver ( "/dev/fb0" ) for bare VGA |
---|
33 | * controller ( 16 colors ). |
---|
34 | * * Added PS/2 and Serial mouse support for PC386 BSP. |
---|
35 | * * console/defkeymap.c: New file. |
---|
36 | * * console/fb_vga.c: New file. |
---|
37 | * * console/fb_vga.h: New file. |
---|
38 | * * console/i386kbd.h: New file. |
---|
39 | * * console/kd.h: New file. |
---|
40 | * * console/keyboard.c: New file. |
---|
41 | * * console/keyboard.h: New file. |
---|
42 | * * console/mouse_parser.c: New file. |
---|
43 | * * console/mouse_parser.h: New file. |
---|
44 | * * console/pc_keyb.c: New file. |
---|
45 | * * console/ps2_drv.h: New file. |
---|
46 | * * console/ps2_mouse.c: New file. |
---|
47 | * * console/ps2_mouse.h: New file. |
---|
48 | * * console/serial_mouse.c: New file. |
---|
49 | * * console/serial_mouse.h: New file. |
---|
50 | * * console/vgainit.c: New file. |
---|
51 | * * console/vt.c: New file. |
---|
52 | * * console/Makefile.am: Reflect new files. |
---|
53 | * * console/console.c, console/inch.c, console/outch.c: Console |
---|
54 | * functionality modifications. |
---|
55 | * * startup/Makefile.am: Pick up tty_drv.c and gdb_glue.c |
---|
56 | * |
---|
57 | ****************************************************************************/ |
---|
58 | |
---|
59 | /* functions */ |
---|
60 | #ifdef __cplusplus |
---|
61 | extern "C" { |
---|
62 | #endif |
---|
63 | |
---|
64 | /* paux prototype entry points */ |
---|
65 | rtems_device_driver paux_initialize( |
---|
66 | rtems_device_major_number, |
---|
67 | rtems_device_minor_number, |
---|
68 | void * |
---|
69 | ); |
---|
70 | |
---|
71 | rtems_device_driver paux_open( |
---|
72 | rtems_device_major_number, |
---|
73 | rtems_device_minor_number, |
---|
74 | void * |
---|
75 | ); |
---|
76 | |
---|
77 | rtems_device_driver paux_control( |
---|
78 | rtems_device_major_number, |
---|
79 | rtems_device_minor_number, |
---|
80 | void * |
---|
81 | ); |
---|
82 | |
---|
83 | rtems_device_driver paux_close( |
---|
84 | rtems_device_major_number, |
---|
85 | rtems_device_minor_number, |
---|
86 | void * |
---|
87 | ); |
---|
88 | |
---|
89 | rtems_device_driver paux_read( |
---|
90 | rtems_device_major_number, |
---|
91 | rtems_device_minor_number, |
---|
92 | void * |
---|
93 | ); |
---|
94 | |
---|
95 | rtems_device_driver paux_write( |
---|
96 | rtems_device_major_number, |
---|
97 | rtems_device_minor_number, |
---|
98 | void * |
---|
99 | ); |
---|
100 | |
---|
101 | rtems_device_driver paux_control( |
---|
102 | rtems_device_major_number, |
---|
103 | rtems_device_minor_number, |
---|
104 | void * |
---|
105 | ); |
---|
106 | |
---|
107 | #define PAUX_DRIVER_TABLE_ENTRY \ |
---|
108 | { paux_initialize, paux_open, paux_close, \ |
---|
109 | paux_read, paux_write, paux_control } |
---|
110 | |
---|
111 | #ifdef __cplusplus |
---|
112 | } |
---|
113 | #endif |
---|
114 | /* end of include file */ |
---|
115 | |
---|
116 | #endif /* __paux_drv__ */ |
---|