OSDN Git Service

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)
commitf76a0b49402b39b2d314ced52aac2f02d6a6c45d
tree47bfa77b872562ccb24d63784bb153762754acca
parent11826e5dc7b7297164dd9dd6d735c6ff6acb4b86
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