In fdcretry(), if we're not using implied seeks, set the state to DOSEEK

rather than SEEKCOMPLETE before retrying the operation.  If implied seeks
are being used, the state is set to DOIO (no change).  This is why I
couldn't reproduce the disk_unbusy() panic on my SS2; it uses implied
seeks.  Patch from John F. Woods <jfw@jfwhome.funhouse.com>
This commit is contained in:
thorpej 1996-02-10 18:37:36 +00:00
parent d586688437
commit 8a6ad45eed

View File

@ -1,4 +1,4 @@
/* $NetBSD: fd.c,v 1.21 1996/01/30 18:31:05 thorpej Exp $ */
/* $NetBSD: fd.c,v 1.22 1996/02/10 18:37:36 thorpej Exp $ */
/*-
* Copyright (c) 1993, 1994, 1995 Charles Hannum.
@ -1426,7 +1426,7 @@ fdcretry(fdc)
case 0:
/* try again */
fdc->sc_state =
(fdc->sc_flags & FDC_EIS) ? DOIO : SEEKCOMPLETE;
(fdc->sc_flags & FDC_EIS) ? DOIO : DOSEEK;
break;
case 1: case 2: case 3: