summaryrefslogtreecommitdiffstats
path: root/sys/isa
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1994-03-21 22:19:56 +0000
committerache <ache@FreeBSD.org>1994-03-21 22:19:56 +0000
commitee1a0d60c443fa83d28ae2045c01c072c53b8535 (patch)
treeeaf7f6e7a55d0a370c6d1143f5204bd6ce83489f /sys/isa
parent8a08d987e568582fd92f4bedbce60356d7aefa22 (diff)
downloadFreeBSD-src-ee1a0d60c443fa83d28ae2045c01c072c53b8535.zip
FreeBSD-src-ee1a0d60c443fa83d28ae2045c01c072c53b8535.tar.gz
Add siostop to sioclose, because ttyflush called from
wrong places removed now.
Diffstat (limited to 'sys/isa')
-rw-r--r--sys/isa/sio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/isa/sio.c b/sys/isa/sio.c
index d9a2341..f19709f 100644
--- a/sys/isa/sio.c
+++ b/sys/isa/sio.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)com.c 7.5 (Berkeley) 5/16/91
- * $Id: sio.c,v 1.35 1994/03/18 23:35:37 ache Exp $
+ * $Id: sio.c,v 1.36 1994/03/21 15:18:27 ache Exp $
*/
#include "sio.h"
@@ -772,6 +772,7 @@ sioclose(dev, flag, mode, p)
com = com_addr(UNIT(dev));
tp = com->tp;
(*linesw[tp->t_line].l_close)(tp, flag);
+ siostop(tp, FREAD|FWRITE);
ttyclose(tp);
comhardclose(com);
return (0);
OpenPOWER on IntegriCloud