SysTutorials

Linux Manual Pages › Section 9

pci_set_mwi(9)

pci_set_mwi – enables memory-write-invalidate PCI transaction

Synopsis

int pci_set_mwi(struct pci_dev *dev);

Arguments

dev

the PCI device for which MWI is enabled

Description

Enables the Memory-Write-Invalidate transaction in PCI_COMMAND.

Return

An appropriate -ERRNO error value on error, or zero for success.

Copyright