RTEMS 6.1-rc1
ps2_drv.h
Go to the documentation of this file.
1
9#ifndef __paux_drv__
10#define __paux_drv__
11/***************************************************************************
12 *
13 * Copyright (c) 1999 ConnectTel, Inc. All Rights Reserved.
14 *
15 * MODULE DESCRIPTION: Prototype routines for the paux driver.
16 *
17 * by: Rosimildo da Silva:
18 * rdasilva@connecttel.com
19 * http://www.connecttel.com
20 *
21 ****************************************************************************/
22
23/* functions */
24#ifdef __cplusplus
25extern "C" {
26#endif
27
28/* paux prototype entry points */
29rtems_device_driver paux_initialize(
32 void *
33);
34
35rtems_device_driver paux_open(
38 void *
39);
40
41rtems_device_driver paux_control(
44 void *
45);
46
47rtems_device_driver paux_close(
50 void *
51);
52
53rtems_device_driver paux_read(
56 void *
57);
58
59rtems_device_driver paux_write(
62 void *
63);
64
65rtems_device_driver paux_control(
68 void *
69);
70
71#define PAUX_DRIVER_TABLE_ENTRY \
72 { paux_initialize, paux_open, paux_close, \
73 paux_read, paux_write, paux_control }
74
75#ifdef __cplusplus
76}
77#endif
78
79#endif /* __paux_drv__ */
uint32_t rtems_device_major_number
This integer type represents the major number of devices.
Definition: io.h:103
uint32_t rtems_device_minor_number
This integer type represents the minor number of devices.
Definition: io.h:115
rtems_status_code
This enumeration provides status codes for directives of the Classic API.
Definition: status.h:85