diff options
| author | Marcel Moolenaar <marcel@FreeBSD.org> | 2004-04-25 04:30:40 +0000 |
|---|---|---|
| committer | Marcel Moolenaar <marcel@FreeBSD.org> | 2004-04-25 04:30:40 +0000 |
| commit | b4f00e0bb7ef9bcfa0569c8f737c16586633aaee (patch) | |
| tree | 149348f92e72d68fac53e2cf1b711bb4a6a7e519 /sys/dev/uart | |
| parent | 024035e822636993049d09a5b2e011f14c62a98a (diff) | |
Notes
Diffstat (limited to 'sys/dev/uart')
| -rw-r--r-- | sys/dev/uart/uart_dev_sab82532.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/uart/uart_dev_sab82532.c b/sys/dev/uart/uart_dev_sab82532.c index 72c297bb4da84..4763ab85712a3 100644 --- a/sys/dev/uart/uart_dev_sab82532.c +++ b/sys/dev/uart/uart_dev_sab82532.c @@ -252,7 +252,7 @@ sab82532_init(struct uart_bas *bas, int baudrate, int databits, int stopbits, sab82532_param(bas, baudrate, databits, stopbits, parity); /* Clear interrupts. */ - uart_setreg(bas, SAB_IMR0, 0xff); + uart_setreg(bas, SAB_IMR0, (unsigned char)~SAB_IMR0_TCD); uart_setreg(bas, SAB_IMR1, 0xff); uart_barrier(bas); uart_getreg(bas, SAB_ISR0); |
