From abee4d9808456dfc5bd08a19e125264379d850e3 Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Sun, 28 Dec 1997 06:23:03 +0000 Subject: [PATCH] YAMFsio.c (always call ttwwakeup() before returning from comstart()). --- sys/dev/cy/cy.c | 3 ++- sys/dev/cy/cy_isa.c | 3 ++- sys/i386/isa/cy.c | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/sys/dev/cy/cy.c b/sys/dev/cy/cy.c index 001b3f26e978..8b243bec2127 100644 --- a/sys/dev/cy/cy.c +++ b/sys/dev/cy/cy.c @@ -27,7 +27,7 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: cy.c,v 1.57 1997/12/06 13:22:26 bde Exp $ + * $Id: cy.c,v 1.58 1997/12/16 17:39:59 eivind Exp $ */ #include "opt_compat.h" @@ -2105,6 +2105,7 @@ comstart(tp) } enable_intr(); if (tp->t_state & (TS_TIMEOUT | TS_TTSTOP)) { + ttwwakeup(tp); splx(s); return; } diff --git a/sys/dev/cy/cy_isa.c b/sys/dev/cy/cy_isa.c index 001b3f26e978..8b243bec2127 100644 --- a/sys/dev/cy/cy_isa.c +++ b/sys/dev/cy/cy_isa.c @@ -27,7 +27,7 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: cy.c,v 1.57 1997/12/06 13:22:26 bde Exp $ + * $Id: cy.c,v 1.58 1997/12/16 17:39:59 eivind Exp $ */ #include "opt_compat.h" @@ -2105,6 +2105,7 @@ comstart(tp) } enable_intr(); if (tp->t_state & (TS_TIMEOUT | TS_TTSTOP)) { + ttwwakeup(tp); splx(s); return; } diff --git a/sys/i386/isa/cy.c b/sys/i386/isa/cy.c index 001b3f26e978..8b243bec2127 100644 --- a/sys/i386/isa/cy.c +++ b/sys/i386/isa/cy.c @@ -27,7 +27,7 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: cy.c,v 1.57 1997/12/06 13:22:26 bde Exp $ + * $Id: cy.c,v 1.58 1997/12/16 17:39:59 eivind Exp $ */ #include "opt_compat.h" @@ -2105,6 +2105,7 @@ comstart(tp) } enable_intr(); if (tp->t_state & (TS_TIMEOUT | TS_TTSTOP)) { + ttwwakeup(tp); splx(s); return; }