mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
hw/isa/vt82c686: Turn "intr" irq into a named gpio
Makes the code more comprehensible, matches the datasheet and the piix4 device model. Signed-off-by: Bernhard Beschow <shentey@gmail.com> Reviewed-by: BALATON Zoltan <balaton@eik.bme.hu> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20240704205854.18537-2-shentey@gmail.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
This commit is contained in:
parent
c88d07488c
commit
9a365c2536
4 changed files with 7 additions and 6 deletions
|
@ -299,7 +299,7 @@ static void mips_fuloong2e_init(MachineState *machine)
|
|||
object_resolve_path_component(OBJECT(pci_dev),
|
||||
"rtc"),
|
||||
"date");
|
||||
qdev_connect_gpio_out(DEVICE(pci_dev), 0, env->irq[5]);
|
||||
qdev_connect_gpio_out_named(DEVICE(pci_dev), "intr", 0, env->irq[5]);
|
||||
|
||||
dev = DEVICE(object_resolve_path_component(OBJECT(pci_dev), "ide"));
|
||||
pci_ide_create_devs(PCI_DEVICE(dev));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue