summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2010-01-11 04:13:06 +0000
committerWarner Losh <imp@FreeBSD.org>2010-01-11 04:13:06 +0000
commit18f323353c3aa8b0add9ea0e1b434f9229621394 (patch)
treeaa633a0c5076f8962f593357d47dbd5a00aff12f /sys/dev/ic
parent05ace0e8706ec4cd2e49b87d4eab46441e80ac65 (diff)
Notes
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/ns16550.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/dev/ic/ns16550.h b/sys/dev/ic/ns16550.h
index 400088c1a0c1..635270c4a3dd 100644
--- a/sys/dev/ic/ns16550.h
+++ b/sys/dev/ic/ns16550.h
@@ -52,6 +52,7 @@
#define REG_IIR com_iir
#define IIR_IMASK 0xf
#define IIR_RXTOUT 0xc
+#define IIR_BUSY 0x7
#define IIR_RLS 0x6
#define IIR_RXRDY 0x4
#define IIR_TXRDY 0x2
@@ -181,6 +182,10 @@
#define com_xoff1 6 /* XOFF 1 character (R/W) */
#define com_xoff2 7 /* XOFF 2 character (R/W) */
+#define com_usr 39 /* Octeon 16750/16550 Uart Status Reg */
+#define REG_USR com_usr
+#define USR_TXFIFO_NOTFULL 2 /* Uart TX FIFO Not full */
+
/* 16950 register #1. Access enabled by ACR[7]. Also requires !LCR[7]. */
#define com_asr 1 /* additional status register (R[0-7]/W[0-1]) */