projects
/
qemu
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
075cd32
)
Sparc64: make system bus parent of PCI bus
author
Blue Swirl
<blauwirbel@gmail.com>
Sun, 13 Sep 2009 08:32:40 +0000
(08:32 +0000)
committer
Blue Swirl
<blauwirbel@gmail.com>
Sun, 13 Sep 2009 08:32:40 +0000
(08:32 +0000)
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/apb_pci.c
patch
|
blob
|
history
diff --git
a/hw/apb_pci.c
b/hw/apb_pci.c
index
f1088aa
..
1987ee4
100644
(file)
--- 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");