PCI: support PM D0hot->D3 transition reset
authorYu Zhao <yu.zhao@intel.com>
Sat, 13 Jun 2009 07:52:14 +0000 (15:52 +0800)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 16 Jun 2009 21:30:16 +0000 (14:30 -0700)
commitf85876ba82281f15bc4da11e41b94243a8b2b5b4
tree8a2b9143123a8aa319bbe2e3078d8ea65aeb77da
parent8c1c699fec9e9021bf6ff0285dee086bb27aec90
PCI: support PM D0hot->D3 transition reset

PCI PM 1.2 specifies that the device will perform an internal reset upon
transitioning from D3hot to D0 when the NO_SOFT_RESET bit is clear. This
method can be used to reset a function if neither PCIe FLR nor PCI AF FLR
are supported.

Reviewed-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Yu Zhao <yu.zhao@intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pci.c