1 | /* sio.h |
---|
2 | * |
---|
3 | * sio device driver for UART SCC and SMC |
---|
4 | * |
---|
5 | * COPYRIGHT (c) 1997 Pacific Computing |
---|
6 | * |
---|
7 | * $Id$ |
---|
8 | */ |
---|
9 | |
---|
10 | #ifndef _SIO_DRIVER_h |
---|
11 | #define _SIO_DRIVER_h |
---|
12 | |
---|
13 | #ifdef __cplusplus |
---|
14 | extern "C" { |
---|
15 | #endif |
---|
16 | |
---|
17 | #define SIO_DRIVER_TABLE_ENTRY \ |
---|
18 | { sio_initialize, sio_open, sio_close, \ |
---|
19 | sio_read, sio_write, sio_control } |
---|
20 | |
---|
21 | rtems_device_driver sio_initialize( |
---|
22 | rtems_device_major_number, |
---|
23 | rtems_device_minor_number, |
---|
24 | void * |
---|
25 | ); |
---|
26 | |
---|
27 | rtems_device_driver sio_open( |
---|
28 | rtems_device_major_number, |
---|
29 | rtems_device_minor_number, |
---|
30 | void * |
---|
31 | ); |
---|
32 | |
---|
33 | rtems_device_driver sio_close( |
---|
34 | rtems_device_major_number, |
---|
35 | rtems_device_minor_number, |
---|
36 | void * |
---|
37 | ); |
---|
38 | |
---|
39 | rtems_device_driver sio_read( |
---|
40 | rtems_device_major_number, |
---|
41 | rtems_device_minor_number, |
---|
42 | void * |
---|
43 | ); |
---|
44 | |
---|
45 | rtems_device_driver sio_write( |
---|
46 | rtems_device_major_number, |
---|
47 | rtems_device_minor_number, |
---|
48 | void * |
---|
49 | ); |
---|
50 | |
---|
51 | rtems_device_driver sio_control( |
---|
52 | rtems_device_major_number, |
---|
53 | rtems_device_minor_number, |
---|
54 | void * |
---|
55 | ); |
---|
56 | |
---|
57 | #ifdef __cplusplus |
---|
58 | } |
---|
59 | #endif |
---|
60 | |
---|
61 | #endif |
---|
62 | /* end of include file */ |
---|