diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-04-28 19:26:35 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-04-28 19:26:35 +0000 |
commit | 98ff7d30f2dd8ebf9c8ecb8a579bd24c17a15440 (patch) | |
tree | 33240ae308e4855c875f0ef71c493a78e68c3fe1 /hw | |
parent | 43095f3198919e64f8ace4bda12bd45d71795dd2 (diff) |
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
Diffstat (limited to 'hw')
-rw-r--r-- | hw/ide.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); |