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

4.104.114.84.9
Last change on this file since cba119c9 was cba119c9, checked in by Ralf Corsepius <ralf.corsepius@…>, on Oct 17, 2005 at 10:34:02 AM

Remove CVS Log

  • Property mode set to 100644
File size: 1.7 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 ****************************************************************************/
16
17/* functions */
18#ifdef __cplusplus
19extern "C" {
20#endif
21
22/* ttyS1 entry points */
23rtems_device_driver serial_mouse_initialize(
24  rtems_device_major_number,
25  rtems_device_minor_number,
26  void *
27);
28
29rtems_device_driver serial_mouse_open(
30  rtems_device_major_number,
31  rtems_device_minor_number,
32  void *
33);
34
35rtems_device_driver serial_mouse_control(
36  rtems_device_major_number,
37  rtems_device_minor_number,
38  void *
39);
40
41/* serial_mouse  entry points */
42rtems_device_driver serial_mouse_close(
43  rtems_device_major_number,
44  rtems_device_minor_number,
45  void *
46);
47
48rtems_device_driver serial_mouse_read(
49  rtems_device_major_number,
50  rtems_device_minor_number,
51  void *
52);
53
54rtems_device_driver serial_mouse_write(
55  rtems_device_major_number,
56  rtems_device_minor_number,
57  void *
58);
59
60/* Select the mouse type:  "ms","pc","ps2" */
61#define  MOUSE_TYPE        "ms"
62
63/* Select the serial port for the serial mouse driver */
64#define  SERIAL_MOUSE_COM1  1
65/* #define  SERIAL_MOUSE_COM2  1  */
66
67#define SERIAL_MOUSE_DRIVER_TABLE_ENTRY \
68  { serial_mouse_initialize, serial_mouse_open, serial_mouse_close, \
69    serial_mouse_read, serial_mouse_write, serial_mouse_control }
70
71#ifdef __cplusplus
72}
73#endif
74/* end of include file */
75
76#endif  /* __tty_drv__  */
Note: See TracBrowser for help on using the repository browser.