aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-06-12 22:23:16 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-06-12 22:23:16 +0000
commit2a2820560ddca9da787e6baccd169ad47c617d7c (patch)
tree96adc4fceacc64708f595f1948e0ec3cf0f88d1b /hw
parent665656a99becf2aa688f434de137be4a530021eb (diff)
IDE ATA identify fix (aka FreeBSD 4.10 fix)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@921 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw')
-rw-r--r--hw/ide.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ide.c b/hw/ide.c
index 8b5f63e6df..fc0e13efab 100644
--- a/hw/ide.c
+++ b/hw/ide.c
@@ -1099,7 +1099,7 @@ static void ide_ioport_write(void *opaque, uint32_t addr, uint32_t val)
case WIN_IDENTIFY:
if (s->bs && !s->is_cdrom) {
ide_identify(s);
- s->status = READY_STAT;
+ s->status = READY_STAT | SEEK_STAT;
ide_transfer_start(s, s->io_buffer, 512, ide_transfer_stop);
} else {
if (s->is_cdrom) {