]> git.ipfire.org Git - thirdparty/pciutils.git/commit
lspci: Generelized decoding of DVSEC extended capability
authorMartin Mares <mj@ucw.cz>
Mon, 25 May 2020 10:26:07 +0000 (12:26 +0200)
committerMartin Mares <mj@ucw.cz>
Mon, 25 May 2020 10:26:07 +0000 (12:26 +0200)
commit71aeac6364db0d0386be9df6927c1468414719ad
tree68decc6f4a982c3bf343c6459e9115062388aff0
parentf7c3a6babe37c3328de5fe49c83f7e814d60d630
lspci: Generelized decoding of DVSEC extended capability

We decode the DVSEC capability header first. If we recognize the vendor
and ID (and the length is at least the minimum we need), we call
a specific function to interpret the rest of the capability.
ls-ecaps.c