Deleted Added
full compact
ns16550.h (120122) ns16550.h (120123)
1/*-
2 * Copyright (c) 1991 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 17 unchanged lines hidden (view full) ---

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * from: @(#)ns16550.h 7.1 (Berkeley) 5/9/91
1/*-
2 * Copyright (c) 1991 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 17 unchanged lines hidden (view full) ---

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * from: @(#)ns16550.h 7.1 (Berkeley) 5/9/91
34 * $FreeBSD: head/sys/dev/ic/ns16550.h 120122 2003-09-16 13:52:01Z bde $
34 * $FreeBSD: head/sys/dev/ic/ns16550.h 120123 2003-09-16 14:08:54Z bde $
35 */
36
37/*
38 * NS8250... UART registers.
39 */
40
41/* 8250 registers #[0-6]. */
42

--- 85 unchanged lines hidden (view full) ---

128#define FIFO_RX_LOW 0x00
129#define FIFO_RX_MEDL 0x40
130#define FIFO_RX_MEDH 0x80
131#define FIFO_RX_HIGH 0xc0
132
133/* 16650 registers #2,[4-7]. Access enabled by LCR_EFR_ENABLE. */
134
135#define com_efr 2 /* enhanced features register (R/W) */
35 */
36
37/*
38 * NS8250... UART registers.
39 */
40
41/* 8250 registers #[0-6]. */
42

--- 85 unchanged lines hidden (view full) ---

128#define FIFO_RX_LOW 0x00
129#define FIFO_RX_MEDL 0x40
130#define FIFO_RX_MEDH 0x80
131#define FIFO_RX_HIGH 0xc0
132
133/* 16650 registers #2,[4-7]. Access enabled by LCR_EFR_ENABLE. */
134
135#define com_efr 2 /* enhanced features register (R/W) */
136#define EFR_AUTOCTS 0x80
137#define EFR_AUTORTS 0x40
136#define EFR_EFE 0x10 /* enhanced functions enable */
137
138#define EFR_EFE 0x10 /* enhanced functions enable */
139
140#define com_xon1 4 /* XON 1 character (R/W) */
141#define com_xon2 5 /* XON 2 character (R/W) */
142#define com_xoff1 6 /* XOFF 1 character (R/W) */
143#define com_xoff2 7 /* XOFF 2 character (R/W) */
144
138#ifdef PC98
139/* Hardware extension mode register for RSB-2000/3000. */
140#define com_emr com_msr
141#define EMR_EXBUFF 0x04
142#define EMR_CTSFLW 0x08
143#define EMR_DSRFLW 0x10
144#define EMR_RTSFLW 0x20
145#define EMR_DTRFLW 0x40
146#define EMR_EFMODE 0x80
147#endif
145#ifdef PC98
146/* Hardware extension mode register for RSB-2000/3000. */
147#define com_emr com_msr
148#define EMR_EXBUFF 0x04
149#define EMR_CTSFLW 0x08
150#define EMR_DSRFLW 0x10
151#define EMR_RTSFLW 0x20
152#define EMR_DTRFLW 0x40
153#define EMR_EFMODE 0x80
154#endif