From: John W. Linville Date: Wed, 14 Sep 2005 13:52:42 +0000 (-0400) Subject: [PATCH] pci: only call pci_restore_bars at boot X-Git-Tag: v2.6.14-rc2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32a3658533c6f4c6bf370dd730213e802464ef9b;p=pandora-kernel.git [PATCH] pci: only call pci_restore_bars at boot Certain (SGI?) ia64 boxes object to having their PCI BARs restored unless absolutely necessary. This patch restricts calling pci_restore_bars from pci_set_power_state unless the current state is PCI_UNKNOWN, the actual (i.e. physical) state of the device is PCI_D3hot, and the device indicates that it will lose its configuration when transitioning to PCI_D0. Signed-off-by: John W. Linville Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed