summaryrefslogtreecommitdiff
path: root/sys/riscv/sifive
diff options
context:
space:
mode:
authorKristof Provost <kp@FreeBSD.org>2020-01-07 09:02:14 +0000
committerKristof Provost <kp@FreeBSD.org>2020-01-07 09:02:14 +0000
commit76c6e771bc5351886156188c7851fbbb9c8ed869 (patch)
treef71f72d66b9f83f4f8894e70a0484e5c3105a9df /sys/riscv/sifive
parent630cb9c5544e12e7102fd4b71a09fc23d4fc4d4b (diff)
downloadsrc-test2-76c6e771bc5351886156188c7851fbbb9c8ed869.tar.gz
src-test2-76c6e771bc5351886156188c7851fbbb9c8ed869.zip
Notes
Diffstat (limited to 'sys/riscv/sifive')
-rw-r--r--sys/riscv/sifive/sifive_uart.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/riscv/sifive/sifive_uart.c b/sys/riscv/sifive/sifive_uart.c
index 28305057af55..e06d1fc0b727 100644
--- a/sys/riscv/sifive/sifive_uart.c
+++ b/sys/riscv/sifive/sifive_uart.c
@@ -64,11 +64,11 @@ __FBSDID("$FreeBSD$");
#define SFUART_TXCTRL 0x08
#define SFUART_TXCTRL_ENABLE 0x01
#define SFUART_TXCTRL_NSTOP 0x02
-#define SFUART_TXCTRL_TXCNT 0xb0000
+#define SFUART_TXCTRL_TXCNT 0x70000
#define SFUART_TXCTRL_TXCNT_SHIFT 16
#define SFUART_RXCTRL 0x0c
#define SFUART_RXCTRL_ENABLE 0x01
-#define SFUART_RXCTRL_RXCNT 0xb0000
+#define SFUART_RXCTRL_RXCNT 0x70000
#define SFUART_RXCTRL_RXCNT_SHIFT 16
#define SFUART_IRQ_ENABLE 0x10
#define SFUART_IRQ_ENABLE_TXWM 0x01