diff options
author | marcel <marcel@FreeBSD.org> | 2003-09-17 03:11:32 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2003-09-17 03:11:32 +0000 |
commit | 920cfd2329dab9db239d8e448364bc546c00cc92 (patch) | |
tree | 4391e07d78aa2696fba66501852f450d6193838e /usr.sbin/sysinstall/dmenu.c | |
parent | d07df62911128d99b66cd2768f1fbe4ae118b8a5 (diff) | |
download | FreeBSD-src-920cfd2329dab9db239d8e448364bc546c00cc92.zip FreeBSD-src-920cfd2329dab9db239d8e448364bc546c00cc92.tar.gz |
In uart_intr() loop until all interrupts have been handled. Previously
an UART interface could get stuck when a new interrupt condition
arose while servicing a previous interrupt. Since an interrupt was
already pending, no new interrupt would be triggered.
Avoid infinite recursion by flushing the Rx FIFO and marking an
overrun condition when we could not move the data from the Rx
FIFO to the receive buffer in toto. Failure to flush the Rx FIFO
would leave the Rx ready condition pending.
Note that the SAB 82532 already did this due to the nature of the
chip.
Diffstat (limited to 'usr.sbin/sysinstall/dmenu.c')
0 files changed, 0 insertions, 0 deletions