pci_enable_msi_block(9)

pci_enable_msi_block9

Configure device's msi capability structure

Usage

int pci_enable_msi_block(struct pci_dev * dev, unsigned int nvec);

Arguments

dev

device to configure

nvec

number of interrupts to configure

Overview

Allocate 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.

Releases

2 releases since Debian 6.0 (Squeeze); the text changed 1 time.

  1. 6.0
  2. 7

From linux-manual-3.2 3.2.78-1 in Debian 7 (Wheezy). Parsed by carta from the page's man source.