diff options
| author | Bartlomiej Dudek <bartlomiej.dudek@intel.com> | 2017-07-24 17:46:30 +0300 |
|---|---|---|
| committer | Doug Ledford <dledford@redhat.com> | 2017-07-31 22:18:37 +0300 |
| commit | a618b7e40af2b2b751790d602ffa93800b594eca (patch) | |
| tree | ca5dbfd47b838fc53f78f68e409df8277e9b856b /scripts/patch-kernel | |
| parent | a156abb3cf14112d3aa3f3a9ba880d48cf064cef (diff) | |
| download | linux-a618b7e40af2b2b751790d602ffa93800b594eca.tar.xz | |
IB/hfi1: Move saving PCI values to a separate function
During PCIe initialization some registers' values from
PCI config space are saved in order to restore them later
(i.e. after reset). Restoring those value is done by a
function called restore_pci_variables, while saving them
is put directly into function hfi1_pcie_ddinit.
Move saving values to a separate function in the image
of restoring functionality.
Reviewed-by: Jakub Byczkowski <jakub.byczkowski@intel.com>
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Bartlomiej Dudek <bartlomiej.dudek@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
