hisi_sas: add alloc_dev_quirk_v2_hw()
authorJohn Garry <john.garry@huawei.com>
Fri, 15 Apr 2016 13:36:38 +0000 (21:36 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 15 Apr 2016 20:53:23 +0000 (16:53 -0400)
commitb2bdaf2bde16537cbdbd5376acecc555f428603f
treedc61537eb83e8dfa73cd49641592ade61d73fb77
parent330fa7f3140481463eb4956c38b9a44dfeee52b9
hisi_sas: add alloc_dev_quirk_v2_hw()

Add custom version of function to allocate device,
alloc_dev_quirk_v2_hw().  For sata devices the device id bit0 should be
0.

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_v2_hw.c