Ensure the cache_line_size register is programmed
int pci_set_cacheline_size(struct pci_dev * dev);
dev
the PCI device for which MWI is to be enabled
Helper function for pci_set_mwi. Originally copied from drivers/net/acenic.c. Copyright 1998-2001 by Jes Sorensen, <jestrained-monkey.org>.
An appropriate -ERRNO error value on error, or zero for success.