]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: hisi_sas: Add LED feature for v3 hw
authorXiaofei Tan <tanxiaofei@huawei.com>
Mon, 21 May 2018 10:09:16 +0000 (18:09 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 29 May 2018 02:40:32 +0000 (22:40 -0400)
commitacfdc09bbaeef73617e871a7bb224f792477b1a6
tree6aa21b3c9b210ce913f0dd3f8a3ba2348fdfa03c
parent026ea672d561cf21813128f64cf2d5f1553106ad
scsi: hisi_sas: Add LED feature for v3 hw

This patch implements LED feature of directly attached disk for v3 hw.

In fact, this hw has created an SGPIO component for LED feature, and we can
control LEDs just by internal registers.

Signed-off-by: Xiaofei Tan <tanxiaofei@huawei.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c