summaryrefslogtreecommitdiff
path: root/drivers/pci/pci.c
diff options
context:
space:
mode:
authorYu Zhao <yu.zhao@intel.com>2009-03-20 03:25:12 (GMT)
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-03-20 17:48:24 (GMT)
commit8c5cdb6adc6688b9b8fd82ea4a5cf4674dabad79 (patch)
tree79fbfde0cedf983b87cf6f782c108000d5c5752d /drivers/pci/pci.c
parentd1b054da8f599905f3c18a218961dcf17f9d5f13 (diff)
downloadlinux-8c5cdb6adc6688b9b8fd82ea4a5cf4674dabad79.tar.xz
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 2b3201e..676bbcb 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;
}