]> 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)
commita4369d85e94697be31c33afbbfed1576e58214b4
tree47bfa77b872562ccb24d63784bb153762754acca
parent73411a5d0143d27c13ec1f943ee0ced1f4fe24b1
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