aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/pci.c
diff options
context:
space:
mode:
authorYu Zhao <yu.zhao@intel.com>2009-03-20 11:25:12 +0800
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-03-20 10:48:24 -0700
commit8c5cdb6adc6688b9b8fd82ea4a5cf4674dabad79 (patch)
tree79fbfde0cedf983b87cf6f782c108000d5c5752d /drivers/pci/pci.c
parentPCI: initialize and release SR-IOV capability (diff)
downloadlinux-dev-8c5cdb6adc6688b9b8fd82ea4a5cf4674dabad79.tar.xz
linux-dev-8c5cdb6adc6688b9b8fd82ea4a5cf4674dabad79.zip
PCI: restore saved SR-IOV state
Restore the volatile registers in the SR-IOV capability after the D3->D0 transition. Reviewed-by: Matthew Wilcox <willy@linux.intel.com> Signed-off-by: Yu Zhao <yu.zhao@intel.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/pci.c')
-rw-r--r--drivers/pci/pci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
index 2b3201ec2b05..676bbcbc272b 100644
--- a/drivers/pci/pci.c
+++ b/drivers/pci/pci.c
@@ -775,6 +775,7 @@ pci_restore_state(struct pci_dev *dev)
}
pci_restore_pcix_state(dev);
pci_restore_msi_state(dev);
+ pci_restore_iov_state(dev);
return 0;
}