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)
commit5560e9fb2ed56664656c0a5ab9cf0c6768be12d8
treeb6f87800c8ca82534c963de53f7eaf80ca88c6db
parenta8d547bd93664ed19d3f34b66be29dd88af8a095
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