diff options
| author | Ley Foon Tan <[email protected]> | 2015-12-04 16:21:16 -0600 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2015-12-04 16:21:16 -0600 |
| commit | ea1d3795f65e14619642b5f67382800f58e43f3d (patch) | |
| tree | 49c6c45b9c7cb4c8360034d1cd4611a9305304a4 /scripts/gdb/linux/__init__.py | |
| 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 <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/__init__.py')
0 files changed, 0 insertions, 0 deletions