android_kernel_xiaomi_sm8350/drivers/infiniband/hw
Michael Albaugh 82466f00ec IB/ipath: Support blinking LEDs with an led_override file
When we want to find an InfiniPath HCA in a rack of nodes, it is often
expeditious to blink the status LEDs via a userspace /sys file.

A write-only led_override "file" is published per device. Writes to
this file are interpreted as (string form) numbers, and the resulting
value sent to ipath_set_led_override(). The upper eight bits are
interpretted as a 4.4 fixed-point "frequency in Hertz", and the bottom
two 4-bit values are alternately (D0..3, then D4..7) used by the
board-specific LED-setting function to override the normal state.

Signed-off-by: Michael Albaugh <michael.albaugh@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2007-07-09 20:12:25 -07:00
..
amso1100 [IPV4]: Convert IPv4 devconf to an array 2007-06-07 13:39:13 -07:00
cxgb3 IB/uverbs: Export ib_umem_get()/ib_umem_release() to modules 2007-05-08 18:00:37 -07:00
ehca IB/ehca: Refactor "maybe missed event" code 2007-07-09 16:17:32 -07:00
ipath IB/ipath: Support blinking LEDs with an led_override file 2007-07-09 20:12:25 -07:00
mlx4 IB/mlx4: Include linux/mutex.h from mlx4_ib.h 2007-07-09 16:17:33 -07:00
mthca IB/mthca, mlx4_core: Fix typo in comment 2007-06-07 11:51:59 -07:00