Commit 916607ce authored by chenxiang's avatar chenxiang Committed by Xie XiuQi
Browse files

scsi: hisi_sas: allocate different SAS address for directly attached situation



driver inclusion
category: bugfix
bugzilla: NA
CVE: NA

Currently we fake SATA disks' SAS address with phy id. But for v3 hw, it
has two SAS controllers, so two SATA disks may have the same SAS address
if two SATA disks are connected with the same phy but different SAS
controller for directly attached situation.
To solve the issue, fake SATA disks' SAS address with host_no + phy id.

Signed-off-by: default avatarchenxiang (M) <chenxiang66@hisilicon.com>
Signed-off-by: default avatarJohn Garry <john.garry@huawei.com>
Reviewed-by: default avatarXie XiuQi <xiexiuqi@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 7db6cc83
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment