aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/hfi1/ruc.c
diff options
context:
space:
mode:
authorSebastian Sanchez <sebastian.sanchez@intel.com>2017-02-08 05:26:55 -0800
committerDoug Ledford <dledford@redhat.com>2017-02-19 09:18:37 -0500
commitc03c08d50b3d44cd331319b4b2882315413ee281 (patch)
tree1c866c3a69a72c1c0e6e65c4761b5abb1afc4c86 /drivers/infiniband/hw/hfi1/ruc.c
parentIB/hfi1: Reduce oversized fields in struct hfi1_packet (diff)
downloadlinux-dev-c03c08d50b3d44cd331319b4b2882315413ee281.tar.xz
linux-dev-c03c08d50b3d44cd331319b4b2882315413ee281.zip
IB/hfi1: Check upper-case EFI variables
The EFI variable that provides board ID is named by the PCI address of the device, which is published in upper-case, while the HFI1 driver reads the EFI variable in lower-case. This prevents returning the correct board id when queried through sysfs. Read EFI variables in upper-case if the lower-case read fails. Reviewed-by: Easwar Hariharan <easwar.hariharan@intel.com> Signed-off-by: Sebastian Sanchez <sebastian.sanchez@intel.com> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/hfi1/ruc.c')
0 files changed, 0 insertions, 0 deletions