diff options
author | Pavel Machek <pavel@ucw.cz> | 2005-01-07 22:11:07 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@evo.osdl.org> | 2005-01-07 22:11:07 -0800 |
commit | a400014db9280645312fe22a89b84eee18b752f9 (patch) | |
tree | ca845d629852362f48048bf58d606d01f03db0a5 /Documentation | |
parent | 2dbe616d9cbf837029fd51d3b2ffa360a92387ff (diff) | |
download | history-a400014db9280645312fe22a89b84eee18b752f9.tar.gz |
[PATCH] pm: remove outdated docs
pm_access / pm_dev_idle was removed from recent kernels. This should
stop confusion.
Signed-off-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/pm.txt | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/Documentation/pm.txt b/Documentation/pm.txt index 008ac7d2d6d36f..6b9aecc4cd5fb6 100644 --- a/Documentation/pm.txt +++ b/Documentation/pm.txt @@ -91,54 +91,6 @@ void pm_unregister(struct pm_dev *dev); void pm_unregister_all(pm_callback cback); /* - * Device idle/use detection - * - * In general, drivers for all devices should call "pm_access" - * before accessing the hardware (ie. before reading or modifying - * a hardware register). Request or packet-driven drivers should - * additionally call "pm_dev_idle" when a device is not being used. - * - * Examples: - * 1) A keyboard driver would call pm_access whenever a key is pressed - * 2) A network driver would call pm_access before submitting - * a packet for transmit or receive and pm_dev_idle when its - * transfer and receive queues are empty. - * 3) A VGA driver would call pm_access before it accesses any - * of the video controller registers - * - * Ultimately, the PM policy manager uses the access and idle - * information to decide when to suspend individual devices - * or when to suspend the entire system - */ - -/* - * Description: Update device access time and wake up device, if necessary - * - * Parameters: - * dev - PM device previously returned from pm_register - * - * Details: If called from an interrupt handler pm_access updates - * access time but should never need to wake up the device - * (if device is generating interrupts, it should be awake - * already) This is important as we can not wake up - * devices from an interrupt handler. - */ -void pm_access(struct pm_dev *dev); - -/* - * Description: Identify device as currently being idle - * - * Parameters: - * dev - PM device previously returned from pm_register - * - * Details: A call to pm_dev_idle might signal to the policy manager - * to put a device to sleep. If a new device request arrives - * between the call to pm_dev_idle and the pm_callback - * callback, the driver should fail the pm_callback request. - */ -void pm_dev_idle(struct pm_dev *dev); - -/* * Power management request callback * * Parameters: |