diff options
author | Alex Williamson <alex.williamson@redhat.com> | 2013-03-14 16:01:11 -0600 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2013-03-26 21:02:18 +0200 |
commit | 60a0e44320cc2601236450fbe95d952830192a1d (patch) | |
tree | 1b7c7045b82c95019798fdf314be12d052e4a748 /hw/apb_pci.c | |
parent | cf09458d644934976aa64e88bb41ef9a4cc2766a (diff) | |
download | qemu-60a0e44320cc2601236450fbe95d952830192a1d.zip qemu-60a0e44320cc2601236450fbe95d952830192a1d.tar.gz qemu-60a0e44320cc2601236450fbe95d952830192a1d.tar.bz2 |
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/apb_pci.c')
-rw-r--r-- | hw/apb_pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/apb_pci.c b/hw/apb_pci.c index 7992d6f..754ca6c 100644 --- a/hw/apb_pci.c +++ b/hw/apb_pci.c @@ -329,7 +329,7 @@ static int apb_pci_bridge_initfn(PCIDevice *dev) { int rc; - rc = pci_bridge_initfn(dev); + rc = pci_bridge_initfn(dev, TYPE_PCI_BUS); if (rc < 0) { return rc; } @@ -381,7 +381,7 @@ PCIBus *pci_apb_init(hwaddr special_base, pci_apb_set_irq, pci_pbm_map_irq, d, &d->pci_mmio, get_system_io(), - 0, 32); + 0, 32, TYPE_PCI_BUS); *pbm_irqs = d->pbm_irqs; d->ivec_irqs = ivec_irqs; |