diff options
author | Hannes Reinecke <hare@suse.de> | 2016-07-14 03:05:48 +0300 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2016-07-15 15:08:13 +0300 |
commit | 5b844b63ddfb65aef923eaabe0420196fd71dd13 (patch) | |
tree | 6bc13465e720117bdeb105fd0e8df481c2fe2711 /drivers/ata/libata-eh.c | |
parent | 5b51ba6178f5502e6ab1bba75e91a365bc4c718b (diff) | |
download | linux-5b844b63ddfb65aef923eaabe0420196fd71dd13.tar.xz |
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/libata-eh.c')
-rw-r--r-- | drivers/ata/libata-eh.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ata/libata-eh.c b/drivers/ata/libata-eh.c index 5688b86b192d..d551378bc60e 100644 --- a/drivers/ata/libata-eh.c +++ b/drivers/ata/libata-eh.c @@ -2611,7 +2611,8 @@ static void ata_eh_link_report(struct ata_link *link) [ATA_PROT_NODATA] = "nodata", [ATA_PROT_PIO] = "pio", [ATA_PROT_DMA] = "dma", - [ATA_PROT_NCQ] = "ncq", + [ATA_PROT_NCQ] = "ncq dma", + [ATA_PROT_NCQ_NODATA] = "ncq nodata", [ATAPI_PROT_NODATA] = "nodata", [ATAPI_PROT_PIO] = "pio", [ATAPI_PROT_DMA] = "dma", |