hisi_sas: Add slot init code
authorJohn Garry <john.garry@huawei.com>
Tue, 17 Nov 2015 16:50:36 +0000 (00:50 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 26 Nov 2015 03:12:54 +0000 (22:12 -0500)
commit257efd1f69dd1789b1db0f12425e31d6c05118db
tree443eca3da84dcc98996cf9c037a3f796e281e78d
parent89d533223de0fe30e3b30900d1fc9c98020c2215
hisi_sas: Add slot init code

Add functionality to init slot indexing.

Slot indexing is for the host to track which slots (or tags) are free
and which are used.

Signed-off-by: John Garry <john.garry@huawei.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
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