summaryrefslogtreecommitdiffstats
path: root/hw/ppce500_pci.c
diff options
context:
space:
mode:
authorAlex Williamson2013-03-14 23:01:11 +0100
committerMichael S. Tsirkin2013-03-26 20:02:18 +0100
commit60a0e44320cc2601236450fbe95d952830192a1d (patch)
tree1b7c7045b82c95019798fdf314be12d052e4a748 /hw/ppce500_pci.c
parentpci: Move PCI and PCIE type defines (diff)
downloadqemu-60a0e44320cc2601236450fbe95d952830192a1d.tar.gz
qemu-60a0e44320cc2601236450fbe95d952830192a1d.tar.xz
qemu-60a0e44320cc2601236450fbe95d952830192a1d.zip
pci: Allow PCI bus creation interfaces to specify the type of bus
No change to any types. Signed-off-by: Alex Williamson <alex.williamson@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/ppce500_pci.c')
-rw-r--r--hw/ppce500_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ppce500_pci.c b/hw/ppce500_pci.c
index 310ae1c03d..abc7ebe1bf 100644
--- a/hw/ppce500_pci.c
+++ b/hw/ppce500_pci.c
@@ -356,7 +356,7 @@ static int e500_pcihost_initfn(SysBusDevice *dev)
b = pci_register_bus(DEVICE(dev), NULL, mpc85xx_pci_set_irq,
mpc85xx_pci_map_irq, s->irq, address_space_mem,
- &s->pio, PCI_DEVFN(s->first_slot, 0), 4);
+ &s->pio, PCI_DEVFN(s->first_slot, 0), 4, TYPE_PCI_BUS);
h->bus = b;
pci_create_simple(b, 0, "e500-host-bridge");