PCI_ENABLE_WAKE

Section: ()
Updated: 06 October 2005
Index Return to Main Contents

 

NAME

pci_enable_wake - enable device to generate PME# when suspended  

SYNOPSIS

"SYNOPSIS"

int pci_enable_wake (struct pci_dev * dev, u32 state, int enable);  

ARGUMENTS

dev
- PCI device to operate on
state
- Current state of device.
enable
- Flag to enable or disable generation
 

DESCRIPTION

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.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 07:07:21 GMT, October 06, 2005