[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 4/7] hw/isa/vt82c686: Declare gpio inputs so it can be connect
From: |
Bernhard Beschow |
Subject: |
[PATCH v4 4/7] hw/isa/vt82c686: Declare gpio inputs so it can be connected in board code |
Date: |
Mon, 27 Feb 2023 14:33:22 +0100 |
From: BALATON Zoltan <balaton@eik.bme.hu>
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Tested-by: Rene Engel <ReneEngel80@emailn.de>
---
hw/isa/vt82c686.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/isa/vt82c686.c b/hw/isa/vt82c686.c
index 7aea97365f..84b5c5e64f 100644
--- a/hw/isa/vt82c686.c
+++ b/hw/isa/vt82c686.c
@@ -653,6 +653,7 @@ static void via_isa_realize(PCIDevice *d, Error **errp)
int i;
qdev_init_gpio_out(dev, &s->cpu_intr, 1);
+ qdev_init_gpio_in_named(dev, via_isa_set_pci_irq, "pirq", PCI_NUM_PINS);
isa_irq = qemu_allocate_irqs(via_isa_request_i8259_irq, s, 1);
isa_bus = isa_bus_new(dev, pci_address_space(d), pci_address_space_io(d),
errp);
--
2.39.2
- [PATCH v4 0/7] [RESEND] Pegasos2 fixes and audio output support, Bernhard Beschow, 2023/02/27
- [PATCH v4 5/7] hw/ppc/pegasos2: Fix PCI interrupt routing, Bernhard Beschow, 2023/02/27
- [PATCH v4 7/7] hw/audio/via-ac97: Basic implementation of audio playback, Bernhard Beschow, 2023/02/27
- [PATCH v4 1/7] hw/display/sm501: Implement more 2D raster operations, Bernhard Beschow, 2023/02/27
- [PATCH v4 2/7] hw/display/sm501: Add fallbacks to pixman routines, Bernhard Beschow, 2023/02/27
- [PATCH v4 3/7] hw/display/sm501: Add debug property to control pixman usage, Bernhard Beschow, 2023/02/27
- [PATCH v4 6/7] hw/audio/ac97: Split off some definitions to a header, Bernhard Beschow, 2023/02/27
- [PATCH v4 4/7] hw/isa/vt82c686: Declare gpio inputs so it can be connected in board code,
Bernhard Beschow <=