Updated: 07 March 2004
Return to Main Contents
pci_enable_wake - enable device to generate PME# when suspended
int pci_enable_wake (struct pci_dev * dev, u32 state, int enable);
- PCI device to operate on
- Current state of device.
- Flag to enable or disable generation
Set the bits in the device's PM Capabilities to generate PME# when
the system is suspended.
-EIO is returned if device doesn't have PM Capabilities.
-EINVAL is returned if device supports it, but can't generate wake events.
0 if operation is successful.
ABOUT THIS DOCUMENT
This documentation was generated with kernel version 2.6.4.
- ABOUT THIS DOCUMENT
This document was created by
using the manual pages.
Time: 06:50:38 GMT, March 07, 2004