mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
Get this to compile with the recent UART changes.
This commit is contained in:
parent
1691befed7
commit
493be2ca17
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=156094
@ -359,9 +359,9 @@ at91_usart_bus_ipend(struct uart_softc *sc)
|
||||
|
||||
mtx_lock_spin(&sc->sc_hwmtx);
|
||||
if (csr & USART_CSR_TXRDY && sc->sc_txbusy)
|
||||
ipend |= UART_IPEND_TXIDLE;
|
||||
ipend |= SER_INT_TXIDLE;
|
||||
if (csr & USART_CSR_RXRDY)
|
||||
ipend |= UART_IPEND_RXREADY;
|
||||
ipend |= SER_INT_RXREADY;
|
||||
mtx_unlock_spin(&sc->sc_hwmtx);
|
||||
return (ipend);
|
||||
}
|
||||
@ -388,7 +388,7 @@ at91_usart_bus_getsig(struct uart_softc *sc)
|
||||
sig |= SER_DSR;
|
||||
if (csr & USART_CSR_RI)
|
||||
sig |= SER_RI;
|
||||
new = sig & ~UART_SIGMASK_DELTA;
|
||||
new = sig & ~SER_MASK_DELTA;
|
||||
sc->sc_hwsig = new;
|
||||
mtx_unlock_spin(&sc->sc_hwmtx);
|
||||
return (sig);
|
||||
|
Loading…
Reference in New Issue
Block a user