]> xenbits.xensource.com Git - qemu-xen-4.4-testing.git/commitdiff
SEEK_STAT bit ata reset fix (Jens Axboe)
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 1 Feb 2004 17:24:11 +0000 (17:24 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 1 Feb 2004 17:24:11 +0000 (17:24 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@592 c046a42c-6fe2-441c-8c8c-71466251a162

hw/ide.c

index 794572109a0b81054afd4a8a3a732478bce8a337..af90e264564c483220f099ce7c4c88dbca1ee458 100644 (file)
--- 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);
         }
     }