From: balrog Date: Mon, 14 Jan 2008 03:15:20 +0000 (+0000) Subject: Set READY_STAT after a WIN_DIAGNOSE per ATA-3 (Till Straumann). X-Git-Tag: xen-3.3.0-rc1~448 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=38453b93dde5aa7693ee271275f7c71ed9003f96;p=qemu-xen-unstable.git 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 --- 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;