Commit 2a2820560ddca9da787e6baccd169ad47c617d7c

Authored by bellard
1 parent 665656a9

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
Showing 1 changed file with 1 additions and 1 deletions
hw/ide.c
@@ -1099,7 +1099,7 @@ static void ide_ioport_write(void *opaque, uint32_t addr, uint32_t val) @@ -1099,7 +1099,7 @@ static void ide_ioport_write(void *opaque, uint32_t addr, uint32_t val)
1099 case WIN_IDENTIFY: 1099 case WIN_IDENTIFY:
1100 if (s->bs && !s->is_cdrom) { 1100 if (s->bs && !s->is_cdrom) {
1101 ide_identify(s); 1101 ide_identify(s);
1102 - s->status = READY_STAT; 1102 + s->status = READY_STAT | SEEK_STAT;
1103 ide_transfer_start(s, s->io_buffer, 512, ide_transfer_stop); 1103 ide_transfer_start(s, s->io_buffer, 512, ide_transfer_stop);
1104 } else { 1104 } else {
1105 if (s->is_cdrom) { 1105 if (s->is_cdrom) {