Query: pci_enable_msi_block
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PCI_ENABLE_MSI_BLOCK(9) Hardware Interfaces PCI_ENABLE_MSI_BLOCK(9)NAMEpci_enable_msi_block - configure device's MSI capability structureSYNOPSISint pci_enable_msi_block(struct pci_dev * dev, unsigned int nvec);ARGUMENTSdev device to configure nvec number of interrupts to configureDESCRIPTIONAllocate IRQs for a device with the MSI capability. This function returns a negative errno if an error occurs. If it is unable to allocate the number of interrupts requested, it returns the number of interrupts it might be able to allocate. If it successfully allocates at least the number of interrupts requested, it returns 0 and updates the dev's irq member to the lowest new interrupt number; the other interrupt numbers allocated to this device are consecutive.COPYRIGHTKernel Hackers Manual 2.6. July 2010 PCI_ENABLE_MSI_BLOCK(9)