[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 3/5] via-ide: don't use PCI level for legacy IRQs
From: |
John Snow |
Subject: |
[PULL 3/5] via-ide: don't use PCI level for legacy IRQs |
Date: |
Fri, 27 Mar 2020 16:14:59 -0400 |
From: Mark Cave-Ayland <address@hidden>
The PCI level calculation was accidentally left in when rebasing from a
previous patchset. Since both IRQs are driven separately, the value
being passed into the IRQ handler should be used directly.
Signed-off-by: Mark Cave-Ayland <address@hidden>
Message-id: address@hidden
Signed-off-by: John Snow <address@hidden>
---
hw/ide/via.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/hw/ide/via.c b/hw/ide/via.c
index 8de4945cc1..2a55b7fbc6 100644
--- a/hw/ide/via.c
+++ b/hw/ide/via.c
@@ -112,7 +112,6 @@ static void via_ide_set_irq(void *opaque, int n, int level)
d->config[0x70 + n * 8] &= ~0x80;
}
- level = (d->config[0x70] & 0x80) || (d->config[0x78] & 0x80);
qemu_set_irq(isa_get_irq(NULL, 14 + n), level);
}
--
2.21.1
- [PULL 0/5] Ide patches, John Snow, 2020/03/27
- [PULL 1/5] fdc/i8257: implement verify transfer mode, John Snow, 2020/03/27
- [PULL 2/5] hw/ide/sii3112: Use qdev gpio rather than qemu_allocate_irqs(), John Snow, 2020/03/27
- [PULL 3/5] via-ide: don't use PCI level for legacy IRQs,
John Snow <=
- [PULL 4/5] via-ide: use qdev gpio rather than qemu_allocate_irqs(), John Snow, 2020/03/27
- [PULL 5/5] cmd646-ide: use qdev gpio rather than qemu_allocate_irqs(), John Snow, 2020/03/27
- Re: [PULL 0/5] Ide patches, Peter Maydell, 2020/03/28