pci_enable_device

Name

pci_enable_device --  Initialize device before it's used by a driver.

Synopsis

int pci_enable_device (struct pci_dev * dev);

Arguments

dev

PCI device to be initialized

Description

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