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>
This commit is contained in:
parent
2563fac568
commit
b324392f6b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=5457
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user