1PCI_ENABLE_MSI_RANGE(9) Hardware Interfaces PCI_ENABLE_MSI_RANGE(9)
2
3
4
6 pci_enable_msi_range - configure device´s MSI capability structure
7
9 int pci_enable_msi_range(struct pci_dev * dev, int minvec, int maxvec);
10
12 dev
13 device to configure
14
15 minvec
16 minimal number of interrupts to configure
17
18 maxvec
19 maximum number of interrupts to configure
20
22 This function tries to allocate a maximum possible number of interrupts
23 in a range between minvec and maxvec. It returns a negative errno if an
24 error occurs. If it succeeds, it returns the actual number of
25 interrupts allocated and updates the dev´s irq member to the lowest new
26 interrupt number; the other interrupt numbers allocated to this device
27 are consecutive.
28
30Kernel Hackers Manual 2.6. June 2019 PCI_ENABLE_MSI_RANGE(9)