diff options
author | Hannes Reinecke <hare@suse.de> | 2016-02-15 09:41:59 +0100 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2016-02-18 16:18:49 -0600 |
commit | 9eb45d5cc541142896f5fe7896d824c1091197c9 (patch) | |
tree | abdc3022295264db7329e2eaea3b7f8e8ac2d78c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 92e963f50fc74041b5e9e744c330dca48e04f08d (diff) |
PCI: Update VPD definitions
The 'end' tag is actually 0x0f; it's the representation as a small resource
data type tag that's 0x78 (i.e., shifted by 3). Correct PCI_VPD_STIN_END
and PCI_VPD_SRDT_END accordingly.
Also, add helper functions to extract the resource data type tags for both
large and small resource data types.
[bhelgaas: changelog]
Tested-by: Shane Seymour <shane.seymour@hpe.com>
Tested-by: Babu Moger <babu.moger@oracle.com>
Signed-off-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Alexander Duyck <alexander.duyck@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions