diff options
author | Jonathan Corbet <corbet@lwn.net> | 2007-03-22 16:53:40 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-03-26 14:13:07 -0700 |
commit | 5fabdb94394bef0651479fc14394121c60d5aff7 (patch) | |
tree | 26f9b0cacc1637c931ac07fdda75177b453b0bfe /Documentation/power | |
parent | f7a9dae7c41580761e7f6de1d508c010b1b44993 (diff) | |
download | op-kernel-dev-5fabdb94394bef0651479fc14394121c60d5aff7.zip op-kernel-dev-5fabdb94394bef0651479fc14394121c60d5aff7.tar.gz |
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>
Diffstat (limited to 'Documentation/power')
-rw-r--r-- | Documentation/power/pci.txt | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/Documentation/power/pci.txt b/Documentation/power/pci.txt index c750f9f..b6a3cbf 100644 --- a/Documentation/power/pci.txt +++ b/Documentation/power/pci.txt @@ -102,31 +102,28 @@ pci_save_state -------------- Usage: - pci_save_state(dev, buffer); + pci_save_state(struct pci_dev *dev); Description: - Save first 64 bytes of PCI config space. Buffer must be allocated by - caller. + Save first 64 bytes of PCI config space, along with any additional + PCI-Express or PCI-X information. pci_restore_state ----------------- Usage: - pci_restore_state(dev, buffer); + pci_restore_state(struct pci_dev *dev); Description: - Restore previously saved config space. (First 64 bytes only); - - If buffer is NULL, then restore what information we know about the - device from bootup: BARs and interrupt line. + Restore previously saved config space. pci_set_power_state ------------------- Usage: - pci_set_power_state(dev, state); + pci_set_power_state(struct pci_dev *dev, pci_power_t state); Description: Transition device to low power state using PCI PM Capabilities @@ -142,7 +139,7 @@ pci_enable_wake --------------- Usage: - pci_enable_wake(dev, state, enable); + pci_enable_wake(struct pci_dev *dev, pci_power_t state, int enable); Description: Enable device to generate PME# during low power state using PCI PM |