From: dm Date: Fri, 2 Feb 1996 19:28:41 +0000 (+0000) Subject: hannken: Fix disk_unbusy panic when booting from floppies X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=09c2faac12a3420b41576fae970f6bbddd35a80d;p=openbsd hannken: Fix disk_unbusy panic when booting from floppies --- 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: