From 1461c4fb20e6652a5527eb0673d6355fbe33d4c2 Mon Sep 17 00:00:00 2001 From: kenh Date: Thu, 19 Nov 1998 04:07:54 +0000 Subject: [PATCH] __wdccommand_done() needs to call wdcstart(), otherwise you can run into deadlocks when using wdc_exec_command(). --- sys/dev/ic/wdc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/dev/ic/wdc.c b/sys/dev/ic/wdc.c index dd761b7020e8..ce4661acc137 100644 --- a/sys/dev/ic/wdc.c +++ b/sys/dev/ic/wdc.c @@ -1,4 +1,4 @@ -/* $NetBSD: wdc.c,v 1.40 1998/11/18 19:12:08 kenh Exp $ */ +/* $NetBSD: wdc.c,v 1.41 1998/11/19 04:07:54 kenh Exp $ */ /* @@ -994,6 +994,7 @@ __wdccommand_done(chp, xfer) else wdc_c->callback(wdc_c->callback_arg); } + wdcstart(chp->wdc, chp->channel); return; }