---
name: "pci_enable_msi"
section: "9"
platform: "linux"
package: "linux-manual-2.6.26"
version: "2.6.26-29"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/pci_enable_msi"
---

# pci\_enable\_msi(9)

configure device's MSI capability structure

## NAME

pci\_enable\_msi - configure device's MSI capability structure

## SYNOPSIS

**int pci\_enable\_msi(struct pci\_dev \*** *dev***);**

## ARGUMENTS

*dev*

pointer to the pci\_dev data structure of MSI device function

## DESCRIPTION

Setup the MSI capability structure of device function with a single MSI irq upon its software driver call to request for MSI mode enabled on its hardware device function. A return of zero indicates the successful setup of an entry zero with the new MSI irq or non-zero for otherwise.

## COPYRIGHT
