RDMA/hfi1: change PCI bar addr assignments to Linux API functions
authorSteven L. Roberts <robers97@gmail.com>
Wed, 10 May 2017 19:58:13 +0000 (14:58 -0500)
committerDoug Ledford <dledford@redhat.com>
Thu, 1 Jun 2017 21:03:40 +0000 (17:03 -0400)
commite4785b0633574a607daaa04bf2fe43550055194f
tree9e13d7745b5180e2672f7acd9c015d864ccb9ec9
parentc4dd4b69f55abcc8dd079f8de55d9d8c2ddbefce
RDMA/hfi1: change PCI bar addr assignments to Linux API functions

The Omni-Path adapter driver fails to load on the ppc64le platform
due to invalid PCI setup.

This patch makes the PCI configuration more robust and will
fix 64 bit addressing for ppc64le.

Signed-off-by: Steven L Roberts <robers97@gmail.com>
Acked-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/pcie.c