1PCI_ENABLE_MSI_BLOCK(9) Hardware Interfaces PCI_ENABLE_MSI_BLOCK(9)
2
3
4
6 pci_enable_msi_block - configure device´s MSI capability structure
7
9 int pci_enable_msi_block(struct pci_dev * dev, unsigned int nvec);
10
12 dev
13 device to configure
14
15 nvec
16 number of interrupts to configure
17
19 Allocate IRQs for a device with the MSI capability. This function
20 returns a negative errno if an error occurs. If it is unable to
21 allocate the number of interrupts requested, it returns the number of
22 interrupts it might be able to allocate. If it successfully allocates
23 at least the number of interrupts requested, it returns 0 and updates
24 the dev´s irq member to the lowest new interrupt number; the other
25 interrupt numbers allocated to this device are consecutive.
26
28Kernel Hackers Manual 2.6. June 2019 PCI_ENABLE_MSI_BLOCK(9)