aboutsummaryrefslogtreecommitdiff
path: root/hw/ide.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-02-01 17:24:11 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-02-01 17:24:11 +0000
commit56bf1d37a05b6c6f9f01ddceeb154130710158e4 (patch)
tree4e282dcdbf10655658c10675f8d82f3e7f2eaa4d /hw/ide.c
parentc92b2e845f0669c71081f0f637191d553f9f3499 (diff)
downloadqemu-56bf1d37a05b6c6f9f01ddceeb154130710158e4.zip
qemu-56bf1d37a05b6c6f9f01ddceeb154130710158e4.tar.gz
qemu-56bf1d37a05b6c6f9f01ddceeb154130710158e4.tar.bz2
SEEK_STAT bit ata reset fix (Jens Axboe)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@592 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/ide.c')
-rw-r--r--hw/ide.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ide.c b/hw/ide.c
index 7945721..af90e26 100644
--- a/hw/ide.c
+++ b/hw/ide.c
@@ -1284,7 +1284,7 @@ static void ide_cmd_write(CPUState *env, uint32_t addr, uint32_t val)
if (s->is_cdrom)
s->status = 0x00; /* NOTE: READY is _not_ set */
else
- s->status = READY_STAT;
+ s->status = READY_STAT | SEEK_STAT;
ide_set_signature(s);
}
}