mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
libata-eh: decode all taskfile protocols
Some taskfile protocol values where missing in ata_eh_link_report(). Signed-off-by: Hannes Reinecke <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
This commit is contained in:
parent
bd18bc04ca
commit
5b51ba6178
1 changed files with 3 additions and 0 deletions
|
|
@ -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 a new issue