scsi: hisi_sas: modify hard reset for directed-attached disk
authorXiang Chen <chenxiang66@hisilicon.com>
Fri, 20 Jan 2017 12:45:21 +0000 (20:45 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 21 Jan 2017 00:10:42 +0000 (19:10 -0500)
commit0edef7e46c24b86dc51e6ba7e22c3070ced7328c
tree1bdcfd9581f14803b787d9f6482056c8b59fc471
parent87e287c1ebf887acdc2b1b0563b52f0c4449dccb
scsi: hisi_sas: modify hard reset for directed-attached disk

Correctly set registers in v2 for root PHY hardreset for directly
attached disk.

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