提交 5f8e7f17 编写于 作者: V Vinayak Kale 提交者: Tejun Heo

libata: enable LBA flag in taskfile for ata_scsi_pass_thru()

Enable LBA in taskfile flags for ata_scsi_pass_thru()
Signed-off-by: NVinayak Kale <vinayak.kale@seagate.com>
Signed-off-by: NTejun Heo <tj@kernel.org>
上级 ee7fb331
......@@ -2947,6 +2947,9 @@ static unsigned int ata_scsi_pass_thru(struct ata_queued_cmd *qc)
if ((tf->protocol = ata_scsi_map_proto(cdb[1])) == ATA_PROT_UNKNOWN)
goto invalid_fld;
/* enable LBA */
tf->flags |= ATA_TFLAG_LBA;
/*
* 12 and 16 byte CDBs use different offsets to
* provide the various register values.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册