From ce3903884a66033cf80dc5516dec2ae1601991a1 Mon Sep 17 00:00:00 2001 From: joerg Date: Mon, 9 Jan 1995 17:55:10 +0000 Subject: fix for: kern/97: wt DELAY patch Wangtek PC-02 QIC-02 controller with Cipher 150MB tape drive Any attemp to open /dev/rwt0 hangs. The following patch to /sys/i386/isa/wt.c is derived from Mikael Hybsch's wt driver. Submitted by: Terry Lee --- sys/i386/isa/wt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/i386/isa/wt.c b/sys/i386/isa/wt.c index 9101086..7d6c94f 100644 --- a/sys/i386/isa/wt.c +++ b/sys/i386/isa/wt.c @@ -19,7 +19,7 @@ * the original CMU copyright notice. * * Version 1.3, Thu Nov 11 12:09:13 MSK 1993 - * $Id: wt.c,v 1.12 1994/10/23 21:27:42 wollman Exp $ + * $Id: wt.c,v 1.13 1994/10/25 08:57:39 swallace Exp $ * */ @@ -926,6 +926,7 @@ static int wtstatus (wtinfo_t *t) outb (t->CTLPORT, t->REQUEST | t->ONLINE); /* set request */ wtpoll (t, t->BUSY, 0); /* wait for not ready */ + DELAY(20); outb (t->CTLPORT, t->ONLINE); /* unset request */ } splx(x); -- cgit v1.1