summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/hisi_sas
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2016-04-25 12:45:45 +0200
committerTejun Heo <tj@kernel.org>2016-05-09 12:36:44 -0400
commit661ce1f0c4a69f92ad781d8d2c205c90dd9c5833 (patch)
treefc49426d4b3aab4accc3d36598f1325a340aa5a2 /drivers/scsi/hisi_sas
parentef026b18bb8260e21b4a61685eac46ecdc490d00 (diff)
downloadblackbird-obmc-linux-661ce1f0c4a69f92ad781d8d2c205c90dd9c5833.tar.gz
blackbird-obmc-linux-661ce1f0c4a69f92ad781d8d2c205c90dd9c5833.zip
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>
Diffstat (limited to 'drivers/scsi/hisi_sas')
-rw-r--r--drivers/scsi/hisi_sas/hisi_sas_v2_hw.c1
1 files changed, 1 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 860c9f847371..bd20c5488768 100644
--- a/drivers/scsi/hisi_sas/hisi_sas_v2_hw.c
+++ b/drivers/scsi/hisi_sas/hisi_sas_v2_hw.c
@@ -1632,6 +1632,7 @@ static u8 get_ata_protocol(u8 cmd, int direction)
case ATA_CMD_FPDMA_READ:
case ATA_CMD_FPDMA_RECV:
case ATA_CMD_FPDMA_SEND:
+ case ATA_CMD_NCQ_NON_DATA:
return SATA_PROTOCOL_FPDMA;
case ATA_CMD_ID_ATA:
OpenPOWER on IntegriCloud