libata/libsas: Define ATA_CMD_NCQ_NON_DATA
Define the NCQ NON DATA command and update libsas to handle it correctly. Signed-off-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Tejun Heo <tj@kernel.org>
This commit is contained in:

committed by
Tejun Heo

parent
ef026b18bb
commit
661ce1f0c4
@@ -3171,7 +3171,8 @@ static enum sci_status isci_request_stp_request_construct(struct isci_request *i
|
||||
if (qc && (qc->tf.command == ATA_CMD_FPDMA_WRITE ||
|
||||
qc->tf.command == ATA_CMD_FPDMA_READ ||
|
||||
qc->tf.command == ATA_CMD_FPDMA_RECV ||
|
||||
qc->tf.command == ATA_CMD_FPDMA_SEND)) {
|
||||
qc->tf.command == ATA_CMD_FPDMA_SEND ||
|
||||
qc->tf.command == ATA_CMD_NCQ_NON_DATA)) {
|
||||
fis->sector_count = qc->tag << 3;
|
||||
ireq->tc->type.stp.ncq_tag = qc->tag;
|
||||
}
|
||||
|
Reference in New Issue
Block a user