table of contents
other versions
- stretch 4.9.168-1
PCI_ENABLE_MSI_RANGE(9) | Hardware Interfaces | PCI_ENABLE_MSI_RANGE(9) |
NAME¶
pci_enable_msi_range - configure device's MSI capability structureSYNOPSIS¶
int pci_enable_msi_range(struct pci_dev * dev, int minvec, int maxvec);
ARGUMENTS¶
devdevice to configure
minvec
minimal number of interrupts to configure
maxvec
maximum number of interrupts to configure
DESCRIPTION¶
This function tries to allocate a maximum possible number of interrupts in a range between minvec and maxvec. It returns a negative errno if an error occurs. If it succeeds, it returns the actual number of interrupts allocated and updates the dev's irq member to the lowest new interrupt number; the other interrupt numbers allocated to this device are consecutive.COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |