diff options
author | Hannes Reinecke <hare@suse.de> | 2016-07-14 03:05:47 +0300 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2016-07-14 17:47:23 +0300 |
commit | 5b51ba6178f5502e6ab1bba75e91a365bc4c718b (patch) | |
tree | 00703e797aa643fb62714f62cc639acb47dfe153 /drivers/ata/libata-eh.c | |
parent | bd18bc04caeff361a4fff477224fa5b5fe5ce603 (diff) |
libata-eh: decode all taskfile protocols
Some taskfile protocol values where missing in ata_eh_link_report().
Signed-off-by: Hannes Reinecke <hare@suse.de>
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, 3 insertions, 0 deletions
diff --git a/drivers/ata/libata-eh.c b/drivers/ata/libata-eh.c index 7832e5514cb2..5688b86b192d 100644 --- a/drivers/ata/libata-eh.c +++ b/drivers/ata/libata-eh.c @@ -2607,9 +2607,12 @@ static void ata_eh_link_report(struct ata_link *link) [DMA_FROM_DEVICE] = "in", }; static const char *prot_str[] = { + [ATA_PROT_UNKNOWN] = "unknown", + [ATA_PROT_NODATA] = "nodata", [ATA_PROT_PIO] = "pio", [ATA_PROT_DMA] = "dma", [ATA_PROT_NCQ] = "ncq", + [ATAPI_PROT_NODATA] = "nodata", [ATAPI_PROT_PIO] = "pio", [ATAPI_PROT_DMA] = "dma", }; |