source: rtems/c/src/lib/libbsp/i386/shared/comm/tty_drv.h @ 9b4422a2

4.115
Last change on this file since 9b4422a2 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

  • Property mode set to 100644
File size: 1.8 KB
Line 
1#ifndef __tty_drv__
2#define __tty_drv__
3/***************************************************************************
4 *
5 * Copyright (c) 1999 ConnectTel, Inc. All Rights Reserved.
6 *
7 * MODULE DESCRIPTION: Prototype routines for the ttySx driver.
8 *
9 * by: Rosimildo da Silva:
10 *     rdasilva@connecttel.com
11 *     http://www.connecttel.com
12 *
13 ****************************************************************************/
14
15
16/* functions */
17#ifdef __cplusplus
18extern "C" {
19#endif
20
21/* ttyS1 entry points */
22rtems_device_driver tty1_initialize(
23  rtems_device_major_number,
24  rtems_device_minor_number,
25  void *
26);
27
28rtems_device_driver tty1_open(
29  rtems_device_major_number,
30  rtems_device_minor_number,
31  void *
32);
33
34rtems_device_driver tty1_control(
35  rtems_device_major_number,
36  rtems_device_minor_number,
37  void *
38);
39
40/* tty1 & tty2 shared entry points */
41rtems_device_driver tty_close(
42  rtems_device_major_number,
43  rtems_device_minor_number,
44  void *
45);
46
47rtems_device_driver tty_read(
48  rtems_device_major_number,
49  rtems_device_minor_number,
50  void *
51);
52
53rtems_device_driver tty_write(
54  rtems_device_major_number,
55  rtems_device_minor_number,
56  void *
57);
58
59/* tty2 entry points */
60rtems_device_driver tty2_initialize(
61  rtems_device_major_number,
62  rtems_device_minor_number,
63  void *
64);
65
66rtems_device_driver tty2_open(
67  rtems_device_major_number,
68  rtems_device_minor_number,
69  void *
70);
71
72rtems_device_driver tty2_control(
73  rtems_device_major_number,
74  rtems_device_minor_number,
75  void *
76);
77
78#define TTY1_DRIVER_TABLE_ENTRY \
79  { tty1_initialize, tty1_open, tty_close, \
80    tty_read, tty_write, tty1_control }
81
82#define TTY2_DRIVER_TABLE_ENTRY \
83  { tty2_initialize, tty2_open, tty_close, \
84    tty_read, tty_write, tty2_control }
85
86#ifdef __cplusplus
87}
88#endif
89
90#endif  /* __tty_drv__  */
Note: See TracBrowser for help on using the repository browser.