From 98ff7d30f2dd8ebf9c8ecb8a579bd24c17a15440 Mon Sep 17 00:00:00 2001 From: bellard Date: Thu, 28 Apr 2005 19:26:35 +0000 Subject: [PATCH] BMDMA interrupt fix (aka Solaris x86 IDE bug fix) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1421 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/ide.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hw/ide.c b/hw/ide.c index 3997a06e26..d2220ba0b6 100644 --- a/hw/ide.c +++ b/hw/ide.c @@ -499,7 +499,10 @@ static inline void ide_abort_command(IDEState *s) static inline void ide_set_irq(IDEState *s) { + BMDMAState *bm = s->bmdma; if (!(s->cmd & IDE_CMD_DISABLE_IRQ)) { + if (bm) + bm->status |= BM_STATUS_INT; #ifdef TARGET_PPC if (s->openpic) openpic_set_irq(s->openpic, s->irq, 1);