ns16550.h (202062) | ns16550.h (247519) |
---|---|
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: head/sys/dev/ic/ns16550.h 202062 2010-01-11 04:13:06Z imp $ | 30 * $FreeBSD: head/sys/dev/ic/ns16550.h 247519 2013-03-01 01:42:31Z ganbold $ |
31 */ 32 33/* 34 * NS8250... UART registers. 35 */ 36 37/* 8250 registers #[0-6]. */ 38 --- 138 unchanged lines hidden (view full) --- 177#define EFR_AUTORTS EFR_RTS 178#define EFR_EFE 0x10 /* enhanced functions enable */ 179 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 | 31 */ 32 33/* 34 * NS8250... UART registers. 35 */ 36 37/* 8250 registers #[0-6]. */ 38 --- 138 unchanged lines hidden (view full) --- 177#define EFR_AUTORTS EFR_RTS 178#define EFR_EFE 0x10 /* enhanced functions enable */ 179 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 */ |
|
185#define com_usr 39 /* Octeon 16750/16550 Uart Status Reg */ 186#define REG_USR com_usr 187#define USR_TXFIFO_NOTFULL 2 /* Uart TX FIFO Not full */ 188 189/* 16950 register #1. Access enabled by ACR[7]. Also requires !LCR[7]. */ 190#define com_asr 1 /* additional status register (R[0-7]/W[0-1]) */ 191 192/* 16950 register #3. R/W access enabled by ACR[7]. */ --- 46 unchanged lines hidden --- | 186#define com_usr 39 /* Octeon 16750/16550 Uart Status Reg */ 187#define REG_USR com_usr 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]. */ --- 46 unchanged lines hidden --- |