source: rtems/c/src/lib/libbsp/i386/pc386/console/serial_mouse.h @ f05b2ac

4.104.114.84.9
Last change on this file since f05b2ac was f05b2ac, checked in by Ralf Corsepius <ralf.corsepius@…>, on Apr 21, 2004 at 4:01:48 PM

Remove duplicate white lines.

  • Property mode set to 100644
File size: 3.2 KB
Line 
1#ifndef __serial_mouse_drv__
2#define __serial_mouse_drv__
3/***************************************************************************
4 *
5 * $Header$
6 *
7 * Copyright (c) 1999 ConnectTel, Inc. All Rights Reserved.
8 *
9 * MODULE DESCRIPTION: Prototype routines for the /dev/mouse 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
61extern "C" {
62#endif
63
64/* ttyS1 entry points */
65rtems_device_driver serial_mouse_initialize(
66  rtems_device_major_number,
67  rtems_device_minor_number,
68  void *
69);
70
71rtems_device_driver serial_mouse_open(
72  rtems_device_major_number,
73  rtems_device_minor_number,
74  void *
75);
76
77rtems_device_driver serial_mouse_control(
78  rtems_device_major_number,
79  rtems_device_minor_number,
80  void *
81);
82
83/* serial_mouse  entry points */
84rtems_device_driver serial_mouse_close(
85  rtems_device_major_number,
86  rtems_device_minor_number,
87  void *
88);
89
90rtems_device_driver serial_mouse_read(
91  rtems_device_major_number,
92  rtems_device_minor_number,
93  void *
94);
95
96rtems_device_driver serial_mouse_write(
97  rtems_device_major_number,
98  rtems_device_minor_number,
99  void *
100);
101
102/* Select the mouse type:  "ms","pc","ps2" */
103#define  MOUSE_TYPE        "ms"
104
105/* Select the serial port for the serial mouse driver */
106#define  SERIAL_MOUSE_COM1  1
107/* #define  SERIAL_MOUSE_COM2  1  */
108
109#define SERIAL_MOUSE_DRIVER_TABLE_ENTRY \
110  { serial_mouse_initialize, serial_mouse_open, serial_mouse_close, \
111    serial_mouse_read, serial_mouse_write, serial_mouse_control }
112
113#ifdef __cplusplus
114}
115#endif
116/* end of include file */
117
118#endif  /* __tty_drv__  */
Note: See TracBrowser for help on using the repository browser.