staging/rdma/hfi1: Make EPROM check per device
authorDean Luick <dean.luick@intel.com>
Wed, 3 Feb 2016 22:37:24 +0000 (14:37 -0800)
committerDoug Ledford <dledford@redhat.com>
Fri, 11 Mar 2016 01:38:00 +0000 (20:38 -0500)
commite154f12716ffbbd7bab52b48b8e78142a22a59c0
tree29318e9ba19077ee06868815ba41c6be55138392
parent3fafebb6f6c7084c899924b51c0716a778915c3b
staging/rdma/hfi1: Make EPROM check per device

Add a variable eprom_available to each device, replacing the
global of the same name.  This is to allow multiple HFI devices
with different EPROM availability to operate correctly on the
the same system.

Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Jubin John <jubin.john@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/staging/rdma/hfi1/eprom.c
drivers/staging/rdma/hfi1/hfi.h