]> git.baikalelectronics.ru Git - kernel.git/commit
hisi_sas: for v2 hw only set ITCT qw2 for SAS device
authorJohn Garry <john.garry@huawei.com>
Fri, 8 Apr 2016 09:23:14 +0000 (17:23 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 15 Apr 2016 20:53:17 +0000 (16:53 -0400)
commita0493767aea7ab75eff599a214b27f95252db0f9
tree47bfa77b872562ccb24d63784bb153762754acca
parent1d8c93af6eee7171ca81c23ab554659253b37d94
hisi_sas: for v2 hw only set ITCT qw2 for SAS device

This patch fixes the ITCT table setup as it should be configured
differently for SAS and SATA devices.  For SATA disks there is no need
to set qw2 (already zeroed).  Also, link parameters for Bus inactive
limit, max connection time limit, and reject to open limit timers
parameters are changed to match global config register,
MAX_CON_TIME_LIMIT_TIME, as recommended by hw team.

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