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)
commit428f1b3424f4fe750943d8cdd1b0dafad99b0b75
tree6aa21b3c9b210ce913f0dd3f8a3ba2348fdfa03c
parent1b86518581f6111f5996ff8d4304bde2e3b05eb9
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