diff options
author | Xiaofei Tan <tanxiaofei@huawei.com> | 2018-05-21 18:09:22 +0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-05-28 22:40:32 -0400 |
commit | b09fcd09e9767f81187aa4036fb16d14e2f2fc79 (patch) | |
tree | bd625816c71499a436c744cfd30ab4080c1b2d43 /drivers/scsi/hisi_sas/hisi_sas.h | |
parent | 78bd2b4f6e7c0522cc8bc8ad651f20813ae06f6c (diff) | |
download | linux-b09fcd09e9767f81187aa4036fb16d14e2f2fc79.tar.gz linux-b09fcd09e9767f81187aa4036fb16d14e2f2fc79.tar.bz2 linux-b09fcd09e9767f81187aa4036fb16d14e2f2fc79.zip |
scsi: hisi_sas: Add v2 hw force PHY function for internal ATA command
This patch adds a force PHY function for internal ATA command for v2 hw.
Because there is an SoC bug in v2 hw, and need send an IO through each PHY
of a port to work around a bug which occurs after a controller reset.
This force PHY function will be used in the later patch.
Signed-off-by: Xiaofei Tan <tanxiaofei@huawei.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/hisi_sas/hisi_sas.h')
-rw-r--r-- | drivers/scsi/hisi_sas/hisi_sas.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/hisi_sas/hisi_sas.h b/drivers/scsi/hisi_sas/hisi_sas.h index 60bd652534fe..9400824f23ad 100644 --- a/drivers/scsi/hisi_sas/hisi_sas.h +++ b/drivers/scsi/hisi_sas/hisi_sas.h @@ -180,6 +180,8 @@ struct hisi_sas_device { }; struct hisi_sas_tmf_task { + int force_phy; + int phy_id; u8 tmf; u16 tag_of_task_to_be_managed; }; |