[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 06/10] hw/ide/pci: Add PCIIDEState::isa_irqs[]
From: |
Bernhard Beschow |
Subject: |
[PATCH v2 06/10] hw/ide/pci: Add PCIIDEState::isa_irqs[] |
Date: |
Thu, 26 Jan 2023 22:17:36 +0100 |
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 .
Signed-off-by: Bernhard Beschow <shentey@gmail.com>
---
include/hw/ide/pci.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/hw/ide/pci.h b/include/hw/ide/pci.h
index 2a6284acac..24c0b7a2dd 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_irqs[2];
uint32_t secondary; /* used only for cmd646 */
MemoryRegion bmdma_bar;
MemoryRegion cmd_bar[2];
--
2.39.1
- [PATCH v2 00/10] Resolve isabus global, Bernhard Beschow, 2023/01/26
- [PATCH v2 01/10] softmmu/ioport: Move portio_list_init() in front of portio_list_add(), Bernhard Beschow, 2023/01/26
- [PATCH v2 04/10] hw/ide/piix: Disuse isa_get_irq(), Bernhard Beschow, 2023/01/26
- [PATCH v2 10/10] hw/isa/isa-bus: Resolve isabus global, Bernhard Beschow, 2023/01/26
- [PATCH v2 06/10] hw/ide/pci: Add PCIIDEState::isa_irqs[],
Bernhard Beschow <=
- [PATCH v2 02/10] softmmu/ioport: Merge portio_list_add() into portio_list_init(), Bernhard Beschow, 2023/01/26
- [PATCH v2 03/10] softmmu/ioport: Remove unused functions, Bernhard Beschow, 2023/01/26
- [PATCH v2 08/10] hw/ide: Let ide_init_ioport() take a MemoryRegion argument instead of ISADevice, Bernhard Beschow, 2023/01/26
- [PATCH v2 09/10] hw/isa: Remove use of global isa bus, Bernhard Beschow, 2023/01/26
- [PATCH v2 05/10] Revert "hw/ide: Fix crash when plugging a piix3-ide device into the x-remote machine", Bernhard Beschow, 2023/01/26
- [PATCH v2 07/10] hw/ide/piix: Require an ISABus only for user-created instances, Bernhard Beschow, 2023/01/26
- Re: [PATCH v2 00/10] Resolve isabus global, Bernhard Beschow, 2023/01/30