mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
PPC: make system bus parent of PCI bus
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
50da01ed09
commit
cdd0935cbd
2 changed files with 2 additions and 2 deletions
|
@ -256,7 +256,7 @@ PCIBus *pci_pmac_init(qemu_irq *pic)
|
|||
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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue