pci_set_mwi

Name

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, and then calls pcibios_set_mwi to do the needed arch specific operations or a generic mwi-prep function.

RETURNS

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