Revision 49823868 hw/pci.h

b/hw/pci.h
111 111
enum {
112 112
    QEMU_PCI_CAP_MSIX = 0x1,
113 113
    QEMU_PCI_CAP_EXPRESS = 0x2,
114

  
115
    /* multifunction capable device */
116
#define QEMU_PCI_CAP_MULTIFUNCTION_BITNR        2
117
    QEMU_PCI_CAP_MULTIFUNCTION = (1 << QEMU_PCI_CAP_MULTIFUNCTION_BITNR),
114 118
};
115 119

  
116 120
struct PCIDevice {
......
342 346
void pci_qdev_register(PCIDeviceInfo *info);
343 347
void pci_qdev_register_many(PCIDeviceInfo *info);
344 348

  
349
PCIDevice *pci_create_multifunction(PCIBus *bus, int devfn, bool multifunction,
350
                                    const char *name);
351
PCIDevice *pci_create_simple_multifunction(PCIBus *bus, int devfn,
352
                                           bool multifunction,
353
                                           const char *name);
345 354
PCIDevice *pci_create(PCIBus *bus, int devfn, const char *name);
346 355
PCIDevice *pci_create_simple(PCIBus *bus, int devfn, const char *name);
347 356

  

Also available in: Unified diff