]> git.hungrycats.org Git - linux/commit
[PATCH] PCI: update Documentation/power/pci.txt
authorDavid Brownell <david-b@pacbell.net>
Wed, 6 Oct 2004 04:50:24 +0000 (21:50 -0700)
committerGreg Kroah-Hartman <greg@kroah.com>
Wed, 6 Oct 2004 04:50:24 +0000 (21:50 -0700)
commit6e3a09975dfe7d648f8099a7b1142430418f381f
tree05c5471d809d9ab7d5081f8e00a4fbca8760370a
parentd60fc60d97226defba7fd6dbe23bf0ab0d4d7741
[PATCH] PCI: update Documentation/power/pci.txt

That document was wrong on some things, misleading on others; this
fixes some of the issues I noticed.

However it probably needs to say that drivers for devices that implement
the PCI PM spec "should" always use pci_set_power_state() to reduce the
power usage.  If I get ambitions I might submit a patch to the PCI core
to print a nag message for drivers that don't do that.

Updates the PCI PM docs, better matching the specs and code.

  - List both D3 states (D3hot, D3cold) up front.

  - Clarify that suspend() methods should disable I/0 (including DMA)
    and IRQs; it's not optional.

  - More accurately describe resume(); there are common cases where
    device re-initialization isn't appropriate.  The previous text said
    re-init was always required; that's false.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Documentation/power/pci.txt