Revision 7c7b829e hw/pci.c

b/hw/pci.c
1580 1580
    return 0;
1581 1581
}
1582 1582

  
1583
PCIBus *pci_bridge_init(PCIBus *bus, int devfn, uint16_t vid, uint16_t did,
1583
PCIBus *pci_bridge_init(PCIBus *bus, int devfn, bool multifunction,
1584
                        uint16_t vid, uint16_t did,
1584 1585
                        pci_map_irq_fn map_irq, const char *name)
1585 1586
{
1586 1587
    PCIDevice *dev;
1587 1588
    PCIBridge *s;
1588 1589

  
1589
    dev = pci_create(bus, devfn, "pci-bridge");
1590
    dev = pci_create_multifunction(bus, devfn, multifunction, "pci-bridge");
1590 1591
    qdev_prop_set_uint32(&dev->qdev, "vendorid", vid);
1591 1592
    qdev_prop_set_uint32(&dev->qdev, "deviceid", did);
1592 1593
    qdev_init_nofail(&dev->qdev);

Also available in: Unified diff