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>
This commit is contained in:
parent
bd18bc04ca
commit
5b51ba6178
|
@ -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",
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue