summaryrefslogtreecommitdiff
path: root/drivers/scsi/pm8001/pm8001_hwi.h
diff options
context:
space:
mode:
authorIgor Pylypiv <ipylypiv@google.com>2023-08-20 00:30:40 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2023-08-22 00:11:41 +0300
commit54543295955164fd463b6fe9e0f4724199cfe62a (patch)
tree95dbe1538dfc5ff51ba979e06e91b2f1456b6fd1 /drivers/scsi/pm8001/pm8001_hwi.h
parent72875018f638d02db09f74cbe181dc76a75bc970 (diff)
downloadlinux-54543295955164fd463b6fe9e0f4724199cfe62a.tar.xz
scsi: pm80xx: Set RETFIS when requested by libsas
By default PM80xx HBAs return FIS only when a drive reports an error. The RETFIS bit forces the controller to populate FIS even when a drive reports no error. Signed-off-by: Igor Pylypiv <ipylypiv@google.com> Link: https://lore.kernel.org/r/20230819213040.1101044-3-ipylypiv@google.com Reviewed-by: Niklas Cassel <niklas.cassel@wdc.com> Reviewed-by: Damien Le Moal <dlemoal@kernel.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/pm8001/pm8001_hwi.h')
-rw-r--r--drivers/scsi/pm8001/pm8001_hwi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/pm8001/pm8001_hwi.h b/drivers/scsi/pm8001/pm8001_hwi.h
index 961d0465b923..fc2127dcb58d 100644
--- a/drivers/scsi/pm8001/pm8001_hwi.h
+++ b/drivers/scsi/pm8001/pm8001_hwi.h
@@ -515,7 +515,7 @@ struct sata_start_req {
__le32 tag;
__le32 device_id;
__le32 data_len;
- __le32 ncqtag_atap_dir_m;
+ __le32 retfis_ncqtag_atap_dir_m;
struct host_to_dev_fis sata_fis;
u32 reserved1;
u32 reserved2;