From: Bernhard Beschow Date: Thu, 26 Jan 2023 21:17:36 +0000 (+0100) Subject: hw/ide/pci: Add PCIIDEState::isa_irq[] X-Git-Tag: v8.0.0-rc0~41^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7ae8e6c9a21bff7db376a8b1b135dffa0bb920d6;p=thirdparty%2Fqemu.git 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 Signed-off-by: Bernhard Beschow Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20230126211740.66874-7-shentey@gmail.com> Signed-off-by: Philippe Mathieu-Daudé --- diff --git a/include/hw/ide/pci.h b/include/hw/ide/pci.h index 7b5e3f6e1c5..74c127e32f8 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];