summaryrefslogtreecommitdiffstats
path: root/c/src/libchip/serial/mc68681.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-09-11 23:35:09 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-09-11 23:35:09 +0000
commitbfcf4cb3db75e94cadc3f9eb753c4d64ffbe8685 (patch)
tree9581ce6fc2766a8105de1e5aeedc5058bf5eaa12 /c/src/libchip/serial/mc68681.c
parentAdded documentation for the log_facilityisvalid routine and add thew (diff)
downloadrtems-bfcf4cb3db75e94cadc3f9eb753c4d64ffbe8685.tar.bz2
Updates to tree to make it build with all desired changes and the conversion
of the SONIC driver to the new FreeBSD stack instead of KA9Q.
Diffstat (limited to 'c/src/libchip/serial/mc68681.c')
-rw-r--r--c/src/libchip/serial/mc68681.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/libchip/serial/mc68681.c b/c/src/libchip/serial/mc68681.c
index 037d02ac37..a41a00d1ae 100644
--- a/c/src/libchip/serial/mc68681.c
+++ b/c/src/libchip/serial/mc68681.c
@@ -656,8 +656,8 @@ MC68681_STATIC void mc68681_process(
ucLineStatus >>= 4;
if(ucLineStatus & MC68681_IR_TX_READY) {
- if (!rtems_termios_dequeue_characters(
- Console_Port_Data[minor].termios_data, 1)) {
+ rtems_termios_dequeue_characters(Console_Port_Data[minor].termios_data, 1);
+ if (rtems_termios_is_more_to_tx( Console_Port_Data[minor].termios_data )) {
Console_Port_Data[minor].bActive = FALSE;
mc68681_enable_interrupts(minor, MC68681_IMR_ENABLE_ALL_EXCEPT_TX);
}