aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBernhard Beschow <shentey@gmail.com>2023-01-26 22:17:36 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2023-02-27 22:29:02 +0100
commit7ae8e6c9a21bff7db376a8b1b135dffa0bb920d6 (patch)
tree33aea675367c193c77806def0a37b8219ce571b6 /include
parentd39d792e2da28ca8e7fa6d6475bddc8667fbf611 (diff)
downloadqemu-7ae8e6c9a21bff7db376a8b1b135dffa0bb920d6.zip
qemu-7ae8e6c9a21bff7db376a8b1b135dffa0bb920d6.tar.gz
qemu-7ae8e6c9a21bff7db376a8b1b135dffa0bb920d6.tar.bz2
hw/ide/pci: Add PCIIDEState::isa_irq[]
These legacy ISA IRQs allow the PIIX IDE functions to be wired up in their south bridges and the VIA IDE functions to disuse PCI_INTERRUPT_LINE as outlined in https://lists.nongnu.org/archive/html/qemu-devel/2020-03/msg01707.html Suggested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Signed-off-by: Bernhard Beschow <shentey@gmail.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-Id: <20230126211740.66874-7-shentey@gmail.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/hw/ide/pci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/ide/pci.h b/include/hw/ide/pci.h
index 7b5e3f6..74c127e 100644
--- a/include/hw/ide/pci.h
+++ b/include/hw/ide/pci.h
@@ -49,6 +49,7 @@ struct PCIIDEState {
IDEBus bus[2];
BMDMAState bmdma[2];
+ qemu_irq isa_irq[2];
uint32_t secondary; /* used only for cmd646 */
MemoryRegion bmdma_bar;
MemoryRegion cmd_bar[2];