IB/hfi1: Extract RSM map table init from QOS
authorDean Luick <dean.luick@intel.com>
Tue, 12 Apr 2016 18:30:51 +0000 (11:30 -0700)
committerDoug Ledford <dledford@redhat.com>
Thu, 28 Apr 2016 20:32:28 +0000 (16:32 -0400)
commit372cc85a13c97d6c743cb8df25b52fa5e93d73f6
treefa210ca5bf4b8fc0072be8050ae917d7ca7fd8b1
parent44306f15f0575bff67a923c28aff6e7b2d33021f
IB/hfi1: Extract RSM map table init from QOS

Refactor the allocation, tracking, and writing of the RSM map table
into its own set of routines.  This will allow the map table to be
passed to multiple users to fill in as needed.  Start with the original
user, QOS.

Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/staging/rdma/hfi1/chip.c
drivers/staging/rdma/hfi1/chip_registers.h