scsi: hisi_sas: make SAS address of SATA disks unique
authorXiang Chen <chenxiang66@hisilicon.com>
Fri, 23 Mar 2018 16:05:08 +0000 (00:05 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 18 Apr 2018 23:32:51 +0000 (19:32 -0400)
commit8b8d66531555006a18d1532546dadbea8d16df95
tree202744ffd3ab122a7f64487f1e483f61fb03aa83
parentd2d354a606d5309fbfe81d5fca01122159e38c6e
scsi: hisi_sas: make SAS address of SATA disks unique

When directly connected with SATA disks in different SAS cores, fill SAS
address with scsi_host's id to make it's fake SAS address unique.

Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c