hannken: Fix disk_unbusy panic when booting from floppies
authordm <dm@openbsd.org>
Fri, 2 Feb 1996 19:28:41 +0000 (19:28 +0000)
committerdm <dm@openbsd.org>
Fri, 2 Feb 1996 19:28:41 +0000 (19:28 +0000)
sys/arch/i386/isa/fd.c
sys/dev/isa/fd.c

index 28169bc..2f8e7ae 100644 (file)
@@ -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:
index 28169bc..2f8e7ae 100644 (file)
@@ -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: