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
This commit is contained in:
parent
665656a99b
commit
2a2820560d
2
hw/ide.c
2
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user