From 6bfd7b7d455fd29cb0567a30d78690eabc072344 Mon Sep 17 00:00:00 2001 From: mycroft Date: Mon, 26 May 1997 14:54:46 +0000 Subject: [PATCH] Remove unneeded call to comstop() in commsrint(). This fixes a problem where the driver would sometimes retransmit bytes. --- sys/dev/ic/com.c | 3 +-- sys/dev/isa/com.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/sys/dev/ic/com.c b/sys/dev/ic/com.c index ef339d56575d..1dda781f77dc 100644 --- a/sys/dev/ic/com.c +++ b/sys/dev/ic/com.c @@ -1,4 +1,4 @@ -/* $NetBSD: com.c,v 1.99 1997/04/04 20:56:34 mycroft Exp $ */ +/* $NetBSD: com.c,v 1.100 1997/05/26 14:54:46 mycroft Exp $ */ /*- * Copyright (c) 1993, 1994, 1995, 1996, 1997 @@ -1247,7 +1247,6 @@ commsrint(sc, tp) (*linesw[tp->t_line].l_start)(tp); } else { sc->sc_tx_stopped = 1; - comstop(tp, 0); } } diff --git a/sys/dev/isa/com.c b/sys/dev/isa/com.c index ef339d56575d..1dda781f77dc 100644 --- a/sys/dev/isa/com.c +++ b/sys/dev/isa/com.c @@ -1,4 +1,4 @@ -/* $NetBSD: com.c,v 1.99 1997/04/04 20:56:34 mycroft Exp $ */ +/* $NetBSD: com.c,v 1.100 1997/05/26 14:54:46 mycroft Exp $ */ /*- * Copyright (c) 1993, 1994, 1995, 1996, 1997 @@ -1247,7 +1247,6 @@ commsrint(sc, tp) (*linesw[tp->t_line].l_start)(tp); } else { sc->sc_tx_stopped = 1; - comstop(tp, 0); } }