linux_dsm_epyc7002/drivers/scsi/hisi_sas
Xiaofei Tan eba8c20c71 scsi: hisi_sas: fix the issue of link rate inconsistency
In sysfs, there are two files about minimum linkrate, and also two files for
maximum linkrate. Take maximum linkrate example, maximum_linkrate_hw is
read-only and indicated by the register HARD_PHY_LINKRATE, and
maximum_linkrate is read-write and corresponding to the register
PROG_PHY_LINK_RATE.

But in the function phy_up_v*_hw(), we get *_linkrate value from
HARD_PHY_LINKRATE. It is not right. This patch is to fix this issue.

Unreferenced PHY-interrupt enum is also removed for v3 hw.

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>
2018-03-12 21:55:24 -04:00
..
hisi_sas_main.c scsi: hisi_sas: fix the issue of link rate inconsistency 2018-03-12 21:55:24 -04:00
hisi_sas_v1_hw.c scsi: hisi_sas: fix the issue of link rate inconsistency 2018-03-12 21:55:24 -04:00
hisi_sas_v2_hw.c scsi: hisi_sas: fix the issue of link rate inconsistency 2018-03-12 21:55:24 -04:00
hisi_sas_v3_hw.c scsi: hisi_sas: fix the issue of link rate inconsistency 2018-03-12 21:55:24 -04:00
hisi_sas.h scsi: hisi_sas: directly attached disk LED feature for v2 hw 2018-01-22 20:03:59 -05:00
Kconfig scsi: hisi_sas: add skeleton v3 hw driver 2017-06-19 21:31:25 -04:00
Makefile scsi: hisi_sas: add skeleton v3 hw driver 2017-06-19 21:31:25 -04:00