1PCI_ENABLE_DEVICE(9) Hardware Interfaces PCI_ENABLE_DEVICE(9)
2
3
4
6 pci_enable_device - Initialize device before it's used by a driver.
7
9 int pci_enable_device(struct pci_dev * dev);
10
12 dev
13 PCI device to be initialized
14
16 Initialize device before it's used by a driver. Ask low-level code to
17 enable I/O and memory. Wake up the device if it was suspended. Beware,
18 this function can fail.
19
20 Note we don't actually enable the device many times if we call this
21 function repeatedly (we just increment the count).
22
24Kernel Hackers Manual 3.10 June 2019 PCI_ENABLE_DEVICE(9)