summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordm <dm@cvs.openbsd.org>1996-02-02 19:28:42 +0000
committerdm <dm@cvs.openbsd.org>1996-02-02 19:28:42 +0000
commit10b0aef86ebac568aa404239e8d898bfda5bd85e (patch)
treefd7e757dd0599b0899a062f32e3ea24e3c371c96
parent1c4939eac7fa7dfa19a9438ac5cc105fc3012ceb (diff)
hannken: Fix disk_unbusy panic when booting from floppies
-rw-r--r--sys/arch/i386/isa/fd.c1
-rw-r--r--sys/dev/isa/fd.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/sys/arch/i386/isa/fd.c b/sys/arch/i386/isa/fd.c
index 28169bcef4d..2f8e7ae732e 100644
--- a/sys/arch/i386/isa/fd.c
+++ b/sys/arch/i386/isa/fd.c
@@ -1110,6 +1110,7 @@ fdcretry(fdc)
case 0:
/* try again */
fdc->sc_state = SEEKCOMPLETE;
+ disk_busy(&fd->sc_dk);
break;
case 1: case 2: case 3:
diff --git a/sys/dev/isa/fd.c b/sys/dev/isa/fd.c
index 28169bcef4d..2f8e7ae732e 100644
--- a/sys/dev/isa/fd.c
+++ b/sys/dev/isa/fd.c
@@ -1110,6 +1110,7 @@ fdcretry(fdc)
case 0:
/* try again */
fdc->sc_state = SEEKCOMPLETE;
+ disk_busy(&fd->sc_dk);
break;
case 1: case 2: case 3: