projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66201e2
)
fixed floppy reset (aka win98 floppy probe fix)
author
bellard
<bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 4 May 2004 02:04:17 +0000
(
02:04
+0000)
committer
bellard
<bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 4 May 2004 02:04:17 +0000
(
02:04
+0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@783
c046a42c
-6fe2-441c-8c8c-
71466251a162
hw/fdc.c
patch
|
blob
|
history
diff --git
a/hw/fdc.c
b/hw/fdc.c
index 0de5578bb6225311769533cfe3a48da1b10aa36b..dceee8fc7b3be8b1fe74bee7d5fc2403ec4cb404 100644
(file)
--- a/
hw/fdc.c
+++ b/
hw/fdc.c
@@
-636,11
+636,11
@@
static void fdctrl_write_dor (fdctrl_t *fdctrl, uint32_t value)
if (!(fdctrl->state & FD_CTRL_RESET)) {
FLOPPY_DPRINTF("controler enter RESET state\n");
fdctrl->state |= FD_CTRL_RESET;
- fdctrl_reset(fdctrl, 1);
}
} else {
if (fdctrl->state & FD_CTRL_RESET) {
FLOPPY_DPRINTF("controler out of RESET state\n");
+ fdctrl_reset(fdctrl, 1);
fdctrl->state &= ~(FD_CTRL_RESET | FD_CTRL_SLEEP);
}
}