/[gxemul]/upstream/0.4.4/src/include/ns16550reg.h
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /upstream/0.4.4/src/include/ns16550reg.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 35 - (show annotations)
Mon Oct 8 16:21:26 2007 UTC (16 years, 6 months ago) by dpavlin
File MIME type: text/plain
File size: 2714 byte(s)
0.4.4
1 /* gxemul: $Id: ns16550reg.h,v 1.3 2005/03/05 12:34:03 debug Exp $ */
2
3 #ifndef NS16550REG_H
4 #define NS16550REG_H
5
6 /* $NetBSD: ns16550reg.h,v 1.5 2000/05/16 00:18:44 thorpej Exp $ */
7
8 /*-
9 * Copyright (c) 1991 The Regents of the University of California.
10 * All rights reserved.
11 *
12 * Redistribution and use in source and binary forms, with or without
13 * modification, are permitted provided that the following conditions
14 * are met:
15 * 1. Redistributions of source code must retain the above copyright
16 * notice, this list of conditions and the following disclaimer.
17 * 2. Redistributions in binary form must reproduce the above copyright
18 * notice, this list of conditions and the following disclaimer in the
19 * documentation and/or other materials provided with the distribution.
20 * 3. All advertising materials mentioning features or use of this software
21 * must display the following acknowledgement:
22 * This product includes software developed by the University of
23 * California, Berkeley and its contributors.
24 * 4. Neither the name of the University nor the names of its contributors
25 * may be used to endorse or promote products derived from this software
26 * without specific prior written permission.
27 *
28 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
29 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
30 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
31 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
32 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
33 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
34 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
35 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
36 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
37 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
38 * SUCH DAMAGE.
39 *
40 * @(#)ns16550.h 7.1 (Berkeley) 5/9/91
41 */
42
43 /*
44 * NS16550 UART registers
45 */
46
47 #define com_data 0 /* data register (R/W) */
48 #define com_dlbl 0 /* divisor latch low (W) */
49 #define com_dlbh 1 /* divisor latch high (W) */
50 #define com_ier 1 /* interrupt enable (W) */
51 #define com_iir 2 /* interrupt identification (R) */
52 #define com_fifo 2 /* FIFO control (W) */
53 #define com_lctl 3 /* line control register (R/W) */
54 #define com_cfcr 3 /* line control register (R/W) */
55 #define com_mcr 4 /* modem control register (R/W) */
56 #define com_lsr 5 /* line status register (R/W) */
57 #define com_msr 6 /* modem status register (R/W) */
58 #define com_scratch 7 /* scratch register (R/W) */
59
60 #endif /* NS16550REG_H */

  ViewVC Help
Powered by ViewVC 1.1.26