From 09c2faac12a3420b41576fae970f6bbddd35a80d Mon Sep 17 00:00:00 2001 From: dm Date: Fri, 2 Feb 1996 19:28:41 +0000 Subject: [PATCH] hannken: Fix disk_unbusy panic when booting from floppies --- sys/arch/i386/isa/fd.c | 1 + sys/dev/isa/fd.c | 1 + 2 files changed, 2 insertions(+) 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: -- 2.20.1