PCI: restore saved SR-IOV state
authorYu Zhao <yu.zhao@intel.com>
Fri, 20 Mar 2009 03:25:12 +0000 (11:25 +0800)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 20 Mar 2009 17:48:24 +0000 (10:48 -0700)
commit8c5cdb6adc6688b9b8fd82ea4a5cf4674dabad79
tree79fbfde0cedf983b87cf6f782c108000d5c5752d
parentd1b054da8f599905f3c18a218961dcf17f9d5f13
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>
drivers/pci/iov.c
drivers/pci/pci.c
drivers/pci/pci.h