FreeBSD/Linux Kernel Cross Reference
sys/chips/dz_defs.h
1 /*
2 * Mach Operating System
3 * Copyright (c) 1991,1990,1989 Carnegie Mellon University
4 * All Rights Reserved.
5 *
6 * Permission to use, copy, modify and distribute this software and its
7 * documentation is hereby granted, provided that both the copyright
8 * notice and this permission notice appear in all copies of the
9 * software, derivative works or modified versions, and any portions
10 * thereof, and that both notices appear in supporting documentation.
11 *
12 * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
13 * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
14 * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
15 *
16 * Carnegie Mellon requests users of this software to return to
17 *
18 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
19 * School of Computer Science
20 * Carnegie Mellon University
21 * Pittsburgh PA 15213-3890
22 *
23 * any improvements or extensions that they make and grant Carnegie Mellon
24 * the rights to redistribute these changes.
25 */
26 /*
27 * HISTORY
28 * $Log: dz_defs.h,v $
29 * Revision 2.8 93/05/10 20:07:37 rvb
30 * Use Mach types.
31 * [93/05/06 09:55:29 af]
32 *
33 * Revision 2.7 93/03/26 17:57:53 mrt
34 * Rid of dev_t.
35 * [93/03/19 af]
36 *
37 * Revision 2.6 91/06/19 11:47:29 rvb
38 * File moved here from mips/PMAX since it tries to be generic;
39 * it is used on the PMAX and the Vax3100.
40 * [91/06/04 rvb]
41 *
42 * Revision 2.5 91/05/14 17:20:59 mrt
43 * Correcting copyright
44 *
45 * Revision 2.4 91/02/05 17:40:31 mrt
46 * Added author notices
47 * [91/02/04 11:12:57 mrt]
48 *
49 * Changed to use new Mach copyright
50 * [91/02/02 12:10:47 mrt]
51 *
52 * Revision 2.3 90/12/05 23:31:00 af
53 *
54 *
55 * Revision 2.1.1.1 90/11/01 03:37:34 af
56 * Created.
57 * [90/09/03 af]
58 */
59 /*
60 * File: dz_defs.h
61 * Author: Alessandro Forin, Carnegie Mellon University
62 * Date: 9/90
63 *
64 * Internal definitions for the DZ Serial Line Driver
65 */
66
67 #include <mach/std_types.h>
68 #include <chips/busses.h>
69
70 #include <kern/time_out.h>
71 #include <sys/syslog.h>
72
73 #include <device/io_req.h>
74 #include <device/conf.h>
75 #include <device/tty.h>
76 #include <device/errno.h>
77
78 #include <chips/dz_7085.h>
79
80 extern struct tty *dz_tty[];
81
82 extern struct pseudo_dma {
83 dz_regmap_t *p_addr;
84 char *p_mem;
85 char *p_end;
86 int p_arg;
87 int (*p_fcn)();
88 } dz_pdma[];
89
90 extern int rcline, cnline;
91 extern int console;
92
93 /*
94 * Modem control operations on DZ lines
95 */
96
97 extern unsigned dz_mctl(/* int, int, int */);
98
Cache object: 7c8dea081963a8d26ecc2cee46e0cce5
|