IB/hfi1: Replace deprecated pci functions with new API
authorMichael J. Ruhl <michael.j.ruhl@intel.com>
Fri, 26 May 2017 12:35:31 +0000 (05:35 -0700)
committerDoug Ledford <dledford@redhat.com>
Tue, 27 Jun 2017 20:58:11 +0000 (16:58 -0400)
commitbb7dde8784913c06ccd1456bed6dcc5ebd0b3c24
treec51c1f7ec3dcead7981644d7e424633d659b2b92
parent721c462123b4b53745c1ccd99619b16e8f4e091b
IB/hfi1: Replace deprecated pci functions with new API

pci_enable_msix_range() and pci_disable_msix() have been deprecated.
Updating to the new pci_alloc_irq_vectors() interface.

Reviewed-by: Sebastian Sanchez <sebastian.sanchez@intel.com>
Signed-off-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/affinity.c
drivers/infiniband/hw/hfi1/chip.c
drivers/infiniband/hw/hfi1/hfi.h
drivers/infiniband/hw/hfi1/pcie.c