diff options
| author | Blue Swirl | 2009-09-13 10:32:40 +0200 |
|---|---|---|
| committer | Blue Swirl | 2009-09-13 10:32:40 +0200 |
| commit | c5ff6d547299a04f03ed8bcf538a4a5fb2124bbf (patch) | |
| tree | bfb35834ae0a8c7312aa59af850cecc3c7dc3f07 | |
| parent | x86: move a declaration to header (diff) | |
| download | qemu-c5ff6d547299a04f03ed8bcf538a4a5fb2124bbf.tar.gz qemu-c5ff6d547299a04f03ed8bcf538a4a5fb2124bbf.tar.xz qemu-c5ff6d547299a04f03ed8bcf538a4a5fb2124bbf.zip | |
Sparc64: make system bus parent of PCI bus
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
| -rw-r--r-- | hw/apb_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/apb_pci.c b/hw/apb_pci.c index f1088aa9f4..1987ee48f3 100644 --- a/hw/apb_pci.c +++ b/hw/apb_pci.c @@ -247,7 +247,7 @@ PCIBus *pci_apb_init(target_phys_addr_t special_base, /* mem_data */ sysbus_mmio_map(s, 3, mem_base); d = FROM_SYSBUS(APBState, s); - d->host_state.bus = pci_register_bus(NULL, "pci", + d->host_state.bus = pci_register_bus(&d->busdev.qdev, "pci", pci_apb_set_irq, pci_pbm_map_irq, pic, 0, 32); pci_create_simple(d->host_state.bus, 0, "pbm"); |
