diff options
author | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-01-14 03:15:20 +0000 |
---|---|---|
committer | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-01-14 03:15:20 +0000 |
commit | 38453b93dde5aa7693ee271275f7c71ed9003f96 (patch) | |
tree | 2f8b8d921a56213e15674a55766280f2539e8474 /hw/ide.c | |
parent | 044fae83ad1882d9b5919ce02037eb2967824a8d (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |