aboutsummaryrefslogtreecommitdiff
path: root/hw/ide.c
diff options
context:
space:
mode:
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-01-14 03:15:20 +0000
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-01-14 03:15:20 +0000
commit38453b93dde5aa7693ee271275f7c71ed9003f96 (patch)
tree2f8b8d921a56213e15674a55766280f2539e8474 /hw/ide.c
parent044fae83ad1882d9b5919ce02037eb2967824a8d (diff)
Set READY_STAT after a WIN_DIAGNOSE per ATA-3 (Till Straumann).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3912 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 34f1a98519..0e883b3b91 100644
--- a/hw/ide.c
+++ b/hw/ide.c
@@ -2141,7 +2141,7 @@ static void ide_ioport_write(void *opaque, uint32_t addr, uint32_t val)
break;
case WIN_DIAGNOSE:
ide_set_signature(s);
- s->status = 0x00; /* NOTE: READY is _not_ set */
+ s->status = READY_STAT;
s->error = 0x01;
ide_set_irq(s);
break;