]> git.karo-electronics.de Git - linux-beck.git/commit
hisi_sas: use device linkrate in MCR for v2 hw
authorJohn Garry <john.garry@huawei.com>
Fri, 8 Apr 2016 09:23:11 +0000 (17:23 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 15 Apr 2016 20:53:15 +0000 (16:53 -0400)
commit7524926826104b9e0665eaecd50f76889b89a72e
treed3ab48abbdf22516380958453b3e2adfc98f2501
parent9b1d6c8950021ab007608d455fc9c398ecd25476
hisi_sas: use device linkrate in MCR for v2 hw

Contrary to the field name, the MCR (max connection rate) in the ITCT
should hold the device linkrate (linkrate of the connected phy), and not
the max linkrate.

This fixes an issue seen where some SATA drives connected through an
expander which would not attach.

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_v2_hw.c