diff options
author | Ley Foon Tan <lftan@altera.com> | 2015-12-04 16:21:16 -0600 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2015-12-04 16:21:16 -0600 |
commit | ea1d3795f65e14619642b5f67382800f58e43f3d (patch) | |
tree | 49c6c45b9c7cb4c8360034d1cd4611a9305304a4 /lib/dma-debug.c | |
parent | 23ec56708af7155414a979675dc8132a5d6e16ef (diff) |
PCI: altera: Check TLP completion status
Check TLP packet successful completion status. This fix the issue when
accessing multi-function devices in enumeration process, TLP will return
error when accessing non-exist function number. Returns PCI error code
instead of generic errno.
Tested on Ethernet adapter card with multi-functions.
[bhelgaas: simplify completion status checking code]
Signed-off-by: Ley Foon Tan <lftan@altera.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions