sifive: Fix incorrect tx/rx ctrl defines

Happily these were never used, but they should be correct anyway.

Reported by:	Nicholas O'Brien <nickisobrien_gmail.com>
Sponsored by:	Axiado
This commit is contained in:
Kristof Provost 2020-01-07 09:02:14 +00:00
parent 630cb9c554
commit 76c6e771bc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=356438

View File

@ -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