diff options
author | Hannes Reinecke <hare@suse.de> | 2016-04-25 12:45:44 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2016-05-09 18:36:44 +0200 |
commit | ef026b18bb8260e21b4a61685eac46ecdc490d00 (patch) | |
tree | 6364573f2b434f0b380e7ab95d88ff61e6b023ca /drivers/scsi/isci/request.c | |
parent | libata: do not attempt to retrieve sense code twice (diff) | |
download | linux-ef026b18bb8260e21b4a61685eac46ecdc490d00.tar.xz linux-ef026b18bb8260e21b4a61685eac46ecdc490d00.zip |
libsas: enable FPDMA SEND/RECEIVE
Update libsas and dependent drivers to handle FPDMA
SEND/RECEIVE correctly.
Signed-off-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/scsi/isci/request.c')
-rw-r--r-- | drivers/scsi/isci/request.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/scsi/isci/request.c b/drivers/scsi/isci/request.c index cfd0084f1cd2..29456e097a30 100644 --- a/drivers/scsi/isci/request.c +++ b/drivers/scsi/isci/request.c @@ -3169,7 +3169,9 @@ static enum sci_status isci_request_stp_request_construct(struct isci_request *i status = sci_io_request_construct_basic_sata(ireq); if (qc && (qc->tf.command == ATA_CMD_FPDMA_WRITE || - qc->tf.command == ATA_CMD_FPDMA_READ)) { + qc->tf.command == ATA_CMD_FPDMA_READ || + qc->tf.command == ATA_CMD_FPDMA_RECV || + qc->tf.command == ATA_CMD_FPDMA_SEND)) { fis->sector_count = qc->tag << 3; ireq->tc->type.stp.ncq_tag = qc->tag; } |