hisi_sas: add device and slot alloc hw methods
authorJohn Garry <john.garry@huawei.com>
Fri, 15 Apr 2016 13:36:36 +0000 (21:36 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 15 Apr 2016 20:53:22 +0000 (16:53 -0400)
commit685b6d6e678705bf7ff5b7fdd9a904ec7ae9fbe3
tree7caa51aca4622f1859cb1fc94541f605f793b4d7
parent54c4042852a85713a7bdd8436cc63762049fbb39
hisi_sas: add device and slot alloc hw methods

Add methods to use HW specific versions of functions to allocate slot
and device.  HW specific methods are permitted to workaround device id
vs IPTT collision issue in v2 hw.

Signed-off-by: John Garry <john.garry@huawei.com>
Reviewed-by: Hannes Reinicke <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