pci_enable_msi_range(9)

pci_enable_msi_range9

Configure device's msi capability structure

Usage

int pci_enable_msi_range(struct pci_dev * dev, int minvec, int maxvec);

Arguments

dev

device to configure

minvec

minimal number of interrupts to configure

maxvec

maximum number of interrupts to configure

Overview

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.

Releases

2 releases since Debian 8 (Jessie); the text changed 1 time.

  1. 8
  2. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.