hisi_sas: set max commands as configurable
authorJohn Garry <john.garry@huawei.com>
Mon, 25 Jan 2016 18:47:03 +0000 (02:47 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 24 Feb 2016 02:27:02 +0000 (21:27 -0500)
commita8d547bd93664ed19d3f34b66be29dd88af8a095
treeb8b0531749f27a15a6b15d53e76981e7270673f2
parent98bf39fca9ef5a7fc80e8dca1f1ea739c49d4f25
hisi_sas: set max commands as configurable

Since v2 hardware permits different numbers of commands to v1, set this
as configurable in hisi_sas_hw.

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
drivers/scsi/hisi_sas/hisi_sas_main.c
drivers/scsi/hisi_sas/hisi_sas_v1_hw.c