]> git.baikalelectronics.ru Git - kernel.git/commit
hisi_sas: reduce max itct entries
authorJohn Garry <john.garry@huawei.com>
Mon, 25 Jan 2016 18:47:04 +0000 (02:47 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 24 Feb 2016 02:27:02 +0000 (21:27 -0500)
commitaf2d4bdc0dad7d94c68b4557b3d86358c91ca094
treeb6f87800c8ca82534c963de53f7eaf80ca88c6db
parent6b9e1c90c52b915ee1a1506348ed86727157c023
hisi_sas: reduce max itct entries

Since v2 hw only supports 2048 itct entries, as opposed to 4096 for v1
hw, set the max itct entries to the lower of the two.

It is not anticipated that any device with v1 will ever require to
connect > 2048 devices.

Signed-off-by: John Garry <john.garry@huawei.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas.h