summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/wt.c
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1995-01-09 17:55:10 +0000
committerjoerg <joerg@FreeBSD.org>1995-01-09 17:55:10 +0000
commitce3903884a66033cf80dc5516dec2ae1601991a1 (patch)
treee0f5dd7cd283a0936e128f0e3b369f9fb08fc3fd /sys/i386/isa/wt.c
parent4573dfe5e573907ce226e032912af8e3a8e2bff8 (diff)
downloadFreeBSD-src-ce3903884a66033cf80dc5516dec2ae1601991a1.zip
FreeBSD-src-ce3903884a66033cf80dc5516dec2ae1601991a1.tar.gz
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 <terry@uivlsi.csl.uiuc.edu>
Diffstat (limited to 'sys/i386/isa/wt.c')
-rw-r--r--sys/i386/isa/wt.c3
1 files changed, 2 insertions, 1 deletions
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);
OpenPOWER on IntegriCloud