summaryrefslogtreecommitdiffstats
path: root/sys/isa
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1993-10-12 06:32:28 +0000
committerdg <dg@FreeBSD.org>1993-10-12 06:32:28 +0000
commitcdb2f59a7fb33d4b54692d8a492015d5b9e87e1e (patch)
tree1ad0b89d6a54b3ad2f6e058b2fb6c70eb3337cf9 /sys/isa
parent9413cb5a5526595a7e4ba65dbdac5fbb2d6532f4 (diff)
downloadFreeBSD-src-cdb2f59a7fb33d4b54692d8a492015d5b9e87e1e.zip
FreeBSD-src-cdb2f59a7fb33d4b54692d8a492015d5b9e87e1e.tar.gz
incorporated patches from Marc Frajola (marc@escargot.rain.com) to
unset TS_TBLOCK when the RBLEN falls below the low water mark.
Diffstat (limited to 'sys/isa')
-rw-r--r--sys/isa/sio.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/isa/sio.c b/sys/isa/sio.c
index 0dbb439..9dd5840 100644
--- a/sys/isa/sio.c
+++ b/sys/isa/sio.c
@@ -41,7 +41,7 @@
* into the patch kit. Added in sioselect
* from com.c. Added port 4 support.
*/
-static char rcsid[] = "$Header: /a/cvs/386BSD/src/sys/i386/isa/sio.c,v 1.8 1993/09/10 16:59:16 rgrimes Exp $";
+static char rcsid[] = "$Header: /a/cvs/386BSD/src/sys/i386/isa/sio.c,v 1.9 1993/09/28 00:01:10 jkh Exp $";
#include "sio.h"
#if NSIO > 0
@@ -1430,8 +1430,10 @@ comstart(tp)
outb(com->modem_ctl_port, com->mcr_image &= ~MCR_RTS);
}
else {
- if (!(com->mcr_image & MCR_RTS) && com->iptr < com->ihighwater)
+ if (!(com->mcr_image & MCR_RTS) && com->iptr < com->ihighwater) {
+ tp->t_state &= ~TS_RTSBLOCK;
outb(com->modem_ctl_port, com->mcr_image |= MCR_RTS);
+ }
}
enable_intr();
if (tp->t_state & (TS_TIMEOUT | TS_TTSTOP))
OpenPOWER on IntegriCloud