scsi: hisi_sas: allocate different SAS address for directly attached situation
authorXiang Chen <chenxiang66@hisilicon.com>
Thu, 11 Apr 2019 12:46:40 +0000 (20:46 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 13 Apr 2019 01:30:12 +0000 (21:30 -0400)
commitadb5b38c19bb8221df4dfb7bccd1b9572c8072c1
treeb337fa44e81d93f3a74d14010ce6e9ca09c442cc
parent18a54b329c1a57613b95b42ce55affb9079af822
scsi: hisi_sas: allocate different SAS address for directly attached situation

In commit 8b8d66531555 ("scsi: hisi_sas: make SAS address of SATA disks
unique"), we ensured that each SATA disk in the system has a unique SAS
address, even if it is fake. That was for v2 hw.

Add this for v3 hw.

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