aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2007-12-11 22:15:29 +0000
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2007-12-11 22:15:29 +0000
commitf5fdd0a855decf395561f49b96ee50aad5b0feaa (patch)
tree0b0b5e31788c02ae2beeb855cd44f5bef92a2320 /hw
parente0e7ada1d557ca33f8bd96b3e2a446f2f531d08c (diff)
IDE should send irq after WIN_DIAGNOSE (Tristan Gingold).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3808 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw')
-rw-r--r--hw/ide.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/ide.c b/hw/ide.c
index 2183f314bb..13a880bec6 100644
--- a/hw/ide.c
+++ b/hw/ide.c
@@ -2042,6 +2042,7 @@ static void ide_ioport_write(void *opaque, uint32_t addr, uint32_t val)
ide_set_signature(s);
s->status = 0x00; /* NOTE: READY is _not_ set */
s->error = 0x01;
+ ide_set_irq(s);
break;
case WIN_SRST:
if (!s->is_cdrom)