scsi: hisi_sas: add PHY set linkrate support for v1 and v2 hw
authorXiang Chen <chenxiang66@hisilicon.com>
Mon, 7 Nov 2016 12:48:40 +0000 (20:48 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 25 Nov 2016 14:54:40 +0000 (09:54 -0500)
commit2ae757871f48c7d361e093e50d686aba1e47c3d2
treeee07ca23b74640dba5edd86535dfde003ee02c8d
parentf696cc32b5984eb73f6b1ff81929ca9e5ea22d6d
scsi: hisi_sas: add PHY set linkrate support for v1 and v2 hw

Add the function to set PHY min and max linkrate through
sysfs interface.

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