diff options
author | ganbold <ganbold@FreeBSD.org> | 2013-03-01 01:42:31 +0000 |
---|---|---|
committer | ganbold <ganbold@FreeBSD.org> | 2013-03-01 01:42:31 +0000 |
commit | 07edb9e32756de1022f2fa472b214a481ba329be (patch) | |
tree | debab6aac1c091a248b7bba24f5e298e17a563a9 /sys/dev/ic | |
parent | b54216a509bd8ecbe2d99ecf22ea8c74471ab751 (diff) | |
download | FreeBSD-src-07edb9e32756de1022f2fa472b214a481ba329be.zip FreeBSD-src-07edb9e32756de1022f2fa472b214a481ba329be.tar.gz |
Add support for A10 uart.
A10 uart is derived from Synopsys DesignWare uart and requires
to read Uart Status Register when IIR_BUSY has detected.
Also this change includes FDT check, where it checks device
specific properties defined in dts and sets the busy_detect variable.
broken_txfifo is also needed to be set in order to make it work for
A10 uart case.
Reviewed by: marcel@
Approved by: gonzo@
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/ns16550.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/ic/ns16550.h b/sys/dev/ic/ns16550.h index 635270c..659f591 100644 --- a/sys/dev/ic/ns16550.h +++ b/sys/dev/ic/ns16550.h @@ -182,6 +182,7 @@ #define com_xoff1 6 /* XOFF 1 character (R/W) */ #define com_xoff2 7 /* XOFF 2 character (R/W) */ +#define DW_REG_USR 31 /* DesignWare derived Uart Status Reg */ #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 */ |