summaryrefslogtreecommitdiff
path: root/drivers/staging/rdma/hfi1/init.c
diff options
context:
space:
mode:
authorEaswar Hariharan <easwar.hariharan@intel.com>2016-02-26 21:33:28 (GMT)
committerDoug Ledford <dledford@redhat.com>2016-03-11 01:45:46 (GMT)
commit409b146225cdefcc76d9956e323e84e510208884 (patch)
tree48f5ed46417ecb1e567d77a127232a92e60bf890 /drivers/staging/rdma/hfi1/init.c
parent24487dd39cb24c23560c2dc726c6d3375f42a697 (diff)
downloadlinux-409b146225cdefcc76d9956e323e84e510208884.tar.xz
staging/rdma/hfi1: Fix reporting of LED status in Get(LedInfo) and Get(PortInfo)
The LedInfo SMA attribute is redefined to control the LED beaconing state machine instead of the LED directly. In accordance, we now return the state of LED beaconing, represented by whether the beaconing timer is active, instead of the state of the LED itself for SMA queries Get(LedInfo) and Get(PortInfo). While we are at it, we fix the beaconing timer control code so that the state of the timer is accurately updated. Reviewed-by: Ira Weiny <ira.weiny@intel.com> Reviewed-by: Mike Marciniszyn <mike.marciniszyn@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/init.c')
0 files changed, 0 insertions, 0 deletions