commit | cdd0935cbd345364fc6265feaa5814790947b7f9 | [log] [tgz] |
---|---|---|
author | Blue Swirl <blauwirbel@gmail.com> | Sat Sep 19 17:59:10 2009 +0000 |
committer | Blue Swirl <blauwirbel@gmail.com> | Sat Sep 19 17:59:10 2009 +0000 |
tree | aed84558974304bade9caf3a9f8fa3b5c65aee5f | |
parent | 50da01ed0917cab8559674c35d2b0dd79e32e25b [diff] [blame] |
PPC: make system bus parent of PCI bus Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
diff --git a/hw/unin_pci.c b/hw/unin_pci.c index e6d9a70..a202153 100644 --- a/hw/unin_pci.c +++ b/hw/unin_pci.c
@@ -256,7 +256,7 @@ qdev_init(dev); s = sysbus_from_qdev(dev); d = FROM_SYSBUS(UNINState, s); - d->host_state.bus = pci_register_bus(NULL, "pci", + d->host_state.bus = pci_register_bus(&d->busdev.qdev, "pci", pci_unin_set_irq, pci_unin_map_irq, pic, 11 << 3, 4);