Deleted Added
full compact
ns16550.h (256281) ns16550.h (266046)
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

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

22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * 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

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

22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * from: @(#)ns16550.h 7.1 (Berkeley) 5/9/91
30 * $FreeBSD: stable/10/sys/dev/ic/ns16550.h 247519 2013-03-01 01:42:31Z ganbold $
30 * $FreeBSD: stable/10/sys/dev/ic/ns16550.h 266046 2014-05-14 16:32:27Z ian $
31 */
32
33/*
34 * NS8250... UART registers.
35 */
36
37/* 8250 registers #[0-6]. */
38

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

180#define com_xon1 4 /* XON 1 character (R/W) */
181#define com_xon2 5 /* XON 2 character (R/W) */
182#define com_xoff1 6 /* XOFF 1 character (R/W) */
183#define com_xoff2 7 /* XOFF 2 character (R/W) */
184
185#define DW_REG_USR 31 /* DesignWare derived Uart Status Reg */
186#define com_usr 39 /* Octeon 16750/16550 Uart Status Reg */
187#define REG_USR com_usr
31 */
32
33/*
34 * NS8250... UART registers.
35 */
36
37/* 8250 registers #[0-6]. */
38

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

180#define com_xon1 4 /* XON 1 character (R/W) */
181#define com_xon2 5 /* XON 2 character (R/W) */
182#define com_xoff1 6 /* XOFF 1 character (R/W) */
183#define com_xoff2 7 /* XOFF 2 character (R/W) */
184
185#define DW_REG_USR 31 /* DesignWare derived Uart Status Reg */
186#define com_usr 39 /* Octeon 16750/16550 Uart Status Reg */
187#define REG_USR com_usr
188#define USR_BUSY 1 /* Uart Busy. Serial transfer in progress */
188#define USR_TXFIFO_NOTFULL 2 /* Uart TX FIFO Not full */
189
190/* 16950 register #1. Access enabled by ACR[7]. Also requires !LCR[7]. */
191#define com_asr 1 /* additional status register (R[0-7]/W[0-1]) */
192
193/* 16950 register #3. R/W access enabled by ACR[7]. */
194#define com_rfl 3 /* receiver fifo level (R) */
195

--- 44 unchanged lines hidden ---
189#define USR_TXFIFO_NOTFULL 2 /* Uart TX FIFO Not full */
190
191/* 16950 register #1. Access enabled by ACR[7]. Also requires !LCR[7]. */
192#define com_asr 1 /* additional status register (R[0-7]/W[0-1]) */
193
194/* 16950 register #3. R/W access enabled by ACR[7]. */
195#define com_rfl 3 /* receiver fifo level (R) */
196

--- 44 unchanged lines hidden ---