summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/pm8001/pm8001_hwi.h
diff options
context:
space:
mode:
authorIgor Pylypiv <ipylypiv@google.com>2023-08-19 23:30:40 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2023-08-21 23:11:41 +0200
commit54543295955164fd463b6fe9e0f4724199cfe62a (patch)
tree95dbe1538dfc5ff51ba979e06e91b2f1456b6fd1 /drivers/scsi/pm8001/pm8001_hwi.h
parentscsi: libsas: Add return_fis_on_success to sas_ata_task (diff)
downloadlinux-54543295955164fd463b6fe9e0f4724199cfe62a.tar.xz
linux-54543295955164fd463b6fe9e0f4724199cfe62a.zip
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;