aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/hfi1/intr.c
diff options
context:
space:
mode:
authorBartlomiej Dudek <bartlomiej.dudek@intel.com>2017-07-24 07:46:30 -0700
committerDoug Ledford <dledford@redhat.com>2017-07-31 15:18:37 -0400
commita618b7e40af2b2b751790d602ffa93800b594eca (patch)
treeca5dbfd47b838fc53f78f68e409df8277e9b856b /drivers/infiniband/hw/hfi1/intr.c
parentIB/hfi1: Fix initialization failure for debug firmware (diff)
downloadlinux-dev-a618b7e40af2b2b751790d602ffa93800b594eca.tar.xz
linux-dev-a618b7e40af2b2b751790d602ffa93800b594eca.zip
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 'drivers/infiniband/hw/hfi1/intr.c')
0 files changed, 0 insertions, 0 deletions