diff options
author | Easwar Hariharan <easwar.hariharan@intel.com> | 2016-02-09 14:29:13 -0800 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-03-10 20:38:05 -0500 |
commit | c3838b396b425b4242bfe627bfabefc4c1af56f2 (patch) | |
tree | ffc72e8610bc0519a0c67e430940ff598b5184d9 /drivers/staging/rdma/hfi1/hfi.h | |
parent | IB/qib,staging/rdma/hfi1: use setup_timer api (diff) | |
download | linux-dev-c3838b396b425b4242bfe627bfabefc4c1af56f2.tar.xz linux-dev-c3838b396b425b4242bfe627bfabefc4c1af56f2.zip |
staging/rdma/hfi1: Fetch platform configuration data from EFI variable
The platform configuration data has been moved into the EFI variable
store where it is populated by the HFI1 option ROM. This patch pulls
the configuration data from the new location, retaining a fallback to
request_firmware.
Reviewed-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Easwar Hariharan <easwar.hariharan@intel.com>
Signed-off-by: Jubin John <jubin.john@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/staging/rdma/hfi1/hfi.h')
-rw-r--r-- | drivers/staging/rdma/hfi1/hfi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/rdma/hfi1/hfi.h b/drivers/staging/rdma/hfi1/hfi.h index 585485bb6e77..702723b3ff90 100644 --- a/drivers/staging/rdma/hfi1/hfi.h +++ b/drivers/staging/rdma/hfi1/hfi.h @@ -1028,6 +1028,7 @@ struct hfi1_devdata { u16 irev; /* implementation revision */ u16 dc8051_ver; /* 8051 firmware version */ + struct platform_config platform_config; struct platform_config_cache pcfg_cache; /* control high-level access to qsfp */ struct mutex qsfp_i2c_mutex; |