PCI: Fix up PCI power management doc

Update the documentation of PCI power management functions.

Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Jonathan Corbet 2007-03-22 16:53:40 -06:00 committed by Greg Kroah-Hartman
parent f7a9dae7c4
commit 5fabdb9439
1 changed files with 7 additions and 10 deletions

View File

@ -102,31 +102,28 @@ pci_save_state
-------------- --------------
Usage: Usage:
pci_save_state(dev, buffer); pci_save_state(struct pci_dev *dev);
Description: Description:
Save first 64 bytes of PCI config space. Buffer must be allocated by Save first 64 bytes of PCI config space, along with any additional
caller. PCI-Express or PCI-X information.
pci_restore_state pci_restore_state
----------------- -----------------
Usage: Usage:
pci_restore_state(dev, buffer); pci_restore_state(struct pci_dev *dev);
Description: Description:
Restore previously saved config space. (First 64 bytes only); Restore previously saved config space.
If buffer is NULL, then restore what information we know about the
device from bootup: BARs and interrupt line.
pci_set_power_state pci_set_power_state
------------------- -------------------
Usage: Usage:
pci_set_power_state(dev, state); pci_set_power_state(struct pci_dev *dev, pci_power_t state);
Description: Description:
Transition device to low power state using PCI PM Capabilities Transition device to low power state using PCI PM Capabilities
@ -142,7 +139,7 @@ pci_enable_wake
--------------- ---------------
Usage: Usage:
pci_enable_wake(dev, state, enable); pci_enable_wake(struct pci_dev *dev, pci_power_t state, int enable);
Description: Description:
Enable device to generate PME# during low power state using PCI PM Enable device to generate PME# during low power state using PCI PM