hisi_sas: add v1 hw ACPI support
authorJohn Garry <john.garry@huawei.com>
Wed, 3 Feb 2016 18:26:09 +0000 (02:26 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 24 Feb 2016 02:27:02 +0000 (21:27 -0500)
commit37ffee4a0b6d1e56cb51dc2afd9a671fa1a6434c
treea133bd824fbfcea3316c53ab2dd46c3293d39b9c
parent4d558c7774f07857db001eab73490358e5f7ad75
hisi_sas: add v1 hw ACPI support

Add support in v1 hw driver for ACPI.

A check on whether an ACPI handle is available for the device is used to
decide on whether to use ACPI reset handler or syscon for hw reset.

Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas_v1_hw.c