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
This commit is contained in:
parent
43095f3198
commit
98ff7d30f2
3
hw/ide.c
3
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);
|
||||
|
Loading…
Reference in New Issue
Block a user