artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e244c25
)
hannken: Fix disk_unbusy panic when booting from floppies
author
dm
<dm@openbsd.org>
Fri, 2 Feb 1996 19:28:41 +0000
(19:28 +0000)
committer
dm
<dm@openbsd.org>
Fri, 2 Feb 1996 19:28:41 +0000
(19:28 +0000)
sys/arch/i386/isa/fd.c
patch
|
blob
|
history
sys/dev/isa/fd.c
patch
|
blob
|
history
diff --git
a/sys/arch/i386/isa/fd.c
b/sys/arch/i386/isa/fd.c
index
28169bc
..
2f8e7ae
100644
(file)
--- 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
28169bc
..
2f8e7ae
100644
(file)
--- 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: