diff options
author | Hannes Reinecke <hare@suse.de> | 2016-07-14 09:05:48 +0900 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2016-07-15 08:08:13 -0400 |
commit | 5b844b63ddfb65aef923eaabe0420196fd71dd13 (patch) | |
tree | 6bc13465e720117bdeb105fd0e8df481c2fe2711 /drivers/ata/sata_dwc_460ex.c | |
parent | 5b51ba6178f5502e6ab1bba75e91a365bc4c718b (diff) | |
download | lwn-5b844b63ddfb65aef923eaabe0420196fd71dd13.tar.gz lwn-5b844b63ddfb65aef923eaabe0420196fd71dd13.zip |
ata: Handle ATA NCQ NO-DATA commands correctly
Add a new taskfile protocol ATA_PROT_NCQ_NODATA to handle
ATA NCQ NO-DATA commands correctly.
And fixup ata_scsi_zbc_out_xlat() to use it.
Signed-off-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata/sata_dwc_460ex.c')
-rw-r--r-- | drivers/ata/sata_dwc_460ex.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/ata/sata_dwc_460ex.c b/drivers/ata/sata_dwc_460ex.c index 00c2af1d211b..fa1530a9dc03 100644 --- a/drivers/ata/sata_dwc_460ex.c +++ b/drivers/ata/sata_dwc_460ex.c @@ -290,6 +290,8 @@ static const char *get_prot_descript(u8 protocol) return "ATA DMA"; case ATA_PROT_NCQ: return "ATA NCQ"; + case ATA_PROT_NCQ_NODATA: + return "ATA NCQ no data"; case ATAPI_PROT_NODATA: return "ATAPI no data"; case ATAPI_PROT_PIO: |