---
name: "pci_set_cacheline_size"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/pci_set_cacheline_size"
---

# pci\_set\_cacheline\_size(9)

ensure the CACHE\_LINE\_SIZE register is programmed

## NAME

pci\_set\_cacheline\_size - ensure the CACHE\_LINE\_SIZE register is programmed

## SYNOPSIS

**int pci\_set\_cacheline\_size(struct pci\_dev \*** *dev***);**

## ARGUMENTS

*dev*

the PCI device for which MWI is to be enabled

## DESCRIPTION

Helper function for pci\_set\_mwi. Originally copied from drivers/net/acenic.c. Copyright 1998-2001 by Jes Sorensen, \<jes*trained*-monkey.org\>.

## RETURN

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

## COPYRIGHT
