]> mj.ucw.cz Git - pciutils.git/commit
lspci: Use mangled vendor/device ID when examining vendor caps
authorDavid Edmondson <david.edmondson@oracle.com>
Wed, 19 Jul 2023 14:16:41 +0000 (15:16 +0100)
committerDavid Edmondson <david.edmondson@oracle.com>
Wed, 19 Jul 2023 14:16:41 +0000 (15:16 +0100)
commitadf7de0ec6a1b734c00667879d36c1198670958a
tree44458e59e0682d6b359566afb698683121260bd3
parent6182921907ef3cc31be3394eb468b24bcd3955a8
lspci: Use mangled vendor/device ID when examining vendor caps

Given that PCI VFs are expected to have a vendor and device ID of
0xffff, when examining vendor capabilities use the mangled vendor and
device IDs (typically copied from the PF) rather than those read from
the VF configuration space.

Signed-off-by: David Edmondson <david.edmondson@oracle.com>
ls-caps-vendor.c