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/hisi_sas | |
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/hisi_sas')
-rw-r--r-- | drivers/scsi/hisi_sas/hisi_sas_v2_hw.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/hisi_sas/hisi_sas_v2_hw.c b/drivers/scsi/hisi_sas/hisi_sas_v2_hw.c index bbe98ecea0bc..860c9f847371 100644 --- a/drivers/scsi/hisi_sas/hisi_sas_v2_hw.c +++ b/drivers/scsi/hisi_sas/hisi_sas_v2_hw.c @@ -1630,6 +1630,8 @@ static u8 get_ata_protocol(u8 cmd, int direction) switch (cmd) { case ATA_CMD_FPDMA_WRITE: case ATA_CMD_FPDMA_READ: + case ATA_CMD_FPDMA_RECV: + case ATA_CMD_FPDMA_SEND: return SATA_PROTOCOL_FPDMA; case ATA_CMD_ID_ATA: |