summaryrefslogtreecommitdiffstats
path: root/hw/mips
diff options
context:
space:
mode:
authorBernhard Beschow2022-09-01 13:41:23 +0200
committerPhilippe Mathieu-Daudé2022-10-31 11:32:07 +0100
commitd105377264a87573ba4207d05c1641bb3708710a (patch)
treed11d98088ddc87039d07a07804aecb35f44cc79a /hw/mips
parenthw/isa/vt82c686: Instantiate USB functions in host device (diff)
downloadqemu-d105377264a87573ba4207d05c1641bb3708710a.tar.gz
qemu-d105377264a87573ba4207d05c1641bb3708710a.tar.xz
qemu-d105377264a87573ba4207d05c1641bb3708710a.zip
hw/isa/vt82c686: Instantiate PM function in host device
The PM controller has activity bits which monitor activity of other built-in devices in the host device. Signed-off-by: Bernhard Beschow <shentey@gmail.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Acked-by: Daniel Henrique Barboza <danielhb413@gmail.com> Message-Id: <20220901114127.53914-10-shentey@gmail.com> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'hw/mips')
-rw-r--r--hw/mips/fuloong2e.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/mips/fuloong2e.c b/hw/mips/fuloong2e.c
index dc92223b76..377108d313 100644
--- a/hw/mips/fuloong2e.c
+++ b/hw/mips/fuloong2e.c
@@ -208,7 +208,7 @@ static void vt82c686b_southbridge_init(PCIBus *pci_bus, int slot, qemu_irq intc,
dev = PCI_DEVICE(object_resolve_path_component(OBJECT(via), "ide"));
pci_ide_create_devs(dev);
- dev = pci_create_simple(pci_bus, PCI_DEVFN(slot, 4), TYPE_VT82C686B_PM);
+ dev = PCI_DEVICE(object_resolve_path_component(OBJECT(via), "pm"));
*i2c_bus = I2C_BUS(qdev_get_child_bus(DEVICE(dev), "i2c"));
/* Audio support */