pci_enable_device_bars(9)

pci_enable_device_bars9

Initialize some of a device for use

Usage

int pci_enable_device_bars(struct pci_dev * dev, int bars);

Arguments

dev

PCI device to be initialized

bars

bitmask of BAR's that must be configured

Overview

Initialize device before it's used by a driver. Ask low-level code to enable selected I/O and memory resources. Wake up the device if it was suspended. Beware, this function can fail.

From linux-manual-2.6.18 2.6.18.dfsg.1-26etch2 in Debian 4.0 (Etch). Also shipped by linux-manual-2.6.24. Parsed by carta from the page's man source.