4.104.114.84.95
Line | |
---|
1 | /* |
---|
2 | * |
---|
3 | * COPYRIGHT (c) 1989-1998. |
---|
4 | * On-Line Applications Research Corporation (OAR). |
---|
5 | * Copyright assigned to U.S. Government, 1994. |
---|
6 | * |
---|
7 | * The license and distribution terms for this file may be |
---|
8 | * found in the file LICENSE in this distribution or at |
---|
9 | * http://www.OARcorp.com/rtems/license.html. |
---|
10 | * |
---|
11 | * $Id$ |
---|
12 | */ |
---|
13 | |
---|
14 | #ifndef _MC68681_P_H_ |
---|
15 | #define _MC68681_P_H_ |
---|
16 | |
---|
17 | #ifdef __cplusplus |
---|
18 | extern "C" { |
---|
19 | #endif |
---|
20 | typedef struct _mc68681_context |
---|
21 | { |
---|
22 | unsigned8 ucModemCtrl; |
---|
23 | } mc68681_context; |
---|
24 | |
---|
25 | /* |
---|
26 | * Driver functions |
---|
27 | */ |
---|
28 | static boolean mc68681_probe(int minor); |
---|
29 | |
---|
30 | static void mc68681_init(int minor); |
---|
31 | |
---|
32 | static int mc68681_open( |
---|
33 | int major, |
---|
34 | int minor, |
---|
35 | void * arg |
---|
36 | ); |
---|
37 | |
---|
38 | static int mc68681_close( |
---|
39 | int major, |
---|
40 | int minor, |
---|
41 | void * arg |
---|
42 | ); |
---|
43 | |
---|
44 | static void mc68681_write_polled( |
---|
45 | int minor, |
---|
46 | char cChar |
---|
47 | ); |
---|
48 | |
---|
49 | static int mc68681_assert_RTS( |
---|
50 | int minor |
---|
51 | ); |
---|
52 | |
---|
53 | static int mc68681_negate_RTS( |
---|
54 | int minor |
---|
55 | ); |
---|
56 | |
---|
57 | static int mc68681_assert_DTR( |
---|
58 | int minor |
---|
59 | ); |
---|
60 | |
---|
61 | static int mc68681_negate_DTR( |
---|
62 | int minor |
---|
63 | ); |
---|
64 | |
---|
65 | static void mc68681_initialize_interrupts(int minor); |
---|
66 | |
---|
67 | static int mc68681_flush(int major, int minor, void *arg); |
---|
68 | |
---|
69 | static int mc68681_write_support_int( |
---|
70 | int minor, |
---|
71 | const char *buf, |
---|
72 | int len |
---|
73 | ); |
---|
74 | |
---|
75 | static int mc68681_write_support_polled( |
---|
76 | int minor, |
---|
77 | const char *buf, |
---|
78 | int len |
---|
79 | ); |
---|
80 | |
---|
81 | static int mc68681_inbyte_nonblocking_polled( |
---|
82 | int minor |
---|
83 | ); |
---|
84 | |
---|
85 | #ifdef __cplusplus |
---|
86 | } |
---|
87 | #endif |
---|
88 | |
---|
89 | #endif /* _MC68681_P_H_ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.