diff options
| author | Jonathan Corbet <corbet@lwn.net> | 2007-03-22 18:53:40 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-03-26 17:13:07 -0400 |
| commit | 5fabdb94394bef0651479fc14394121c60d5aff7 (patch) | |
| tree | 26f9b0cacc1637c931ac07fdda75177b453b0bfe | |
| parent | f7a9dae7c41580761e7f6de1d508c010b1b44993 (diff) | |
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>
| -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 c750f9f2e76e..b6a3cbf7e846 100644 --- a/Documentation/power/pci.txt +++ b/Documentation/power/pci.txt | |||
| @@ -102,31 +102,28 @@ pci_save_state | |||
| 102 | -------------- | 102 | -------------- |
| 103 | 103 | ||
| 104 | Usage: | 104 | Usage: |
| 105 | pci_save_state(dev, buffer); | 105 | pci_save_state(struct pci_dev *dev); |
| 106 | 106 | ||
| 107 | Description: | 107 | Description: |
| 108 | Save first 64 bytes of PCI config space. Buffer must be allocated by | 108 | Save first 64 bytes of PCI config space, along with any additional |
| 109 | caller. | 109 | PCI-Express or PCI-X information. |
| 110 | 110 | ||
| 111 | 111 | ||
| 112 | pci_restore_state | 112 | pci_restore_state |
| 113 | ----------------- | 113 | ----------------- |
| 114 | 114 | ||
| 115 | Usage: | 115 | Usage: |
| 116 | pci_restore_state(dev, buffer); | 116 | pci_restore_state(struct pci_dev *dev); |
| 117 | 117 | ||
| 118 | Description: | 118 | Description: |
| 119 | Restore previously saved config space. (First 64 bytes only); | 119 | Restore previously saved config space. |
| 120 | |||
| 121 | If buffer is NULL, then restore what information we know about the | ||
| 122 | device from bootup: BARs and interrupt line. | ||
| 123 | 120 | ||
| 124 | 121 | ||
| 125 | pci_set_power_state | 122 | pci_set_power_state |
| 126 | ------------------- | 123 | ------------------- |
| 127 | 124 | ||
| 128 | Usage: | 125 | Usage: |
| 129 | pci_set_power_state(dev, state); | 126 | pci_set_power_state(struct pci_dev *dev, pci_power_t state); |
| 130 | 127 | ||
| 131 | Description: | 128 | Description: |
| 132 | Transition device to low power state using PCI PM Capabilities | 129 | Transition device to low power state using PCI PM Capabilities |
| @@ -142,7 +139,7 @@ pci_enable_wake | |||
| 142 | --------------- | 139 | --------------- |
| 143 | 140 | ||
| 144 | Usage: | 141 | Usage: |
| 145 | pci_enable_wake(dev, state, enable); | 142 | pci_enable_wake(struct pci_dev *dev, pci_power_t state, int enable); |
| 146 | 143 | ||
| 147 | Description: | 144 | Description: |
| 148 | Enable device to generate PME# during low power state using PCI PM | 145 | Enable device to generate PME# during low power state using PCI PM |
