]> git.ipfire.org Git - thirdparty/pciutils.git/commit
lspci: Decode Null Capability
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 19 Apr 2018 20:16:33 +0000 (15:16 -0500)
committerMartin Mares <mj@ucw.cz>
Fri, 20 Apr 2018 08:23:06 +0000 (10:23 +0200)
commitc508d1c97eb42f02fb87e23fc2a860257f83008d
tree5d8a7eb8c619e8f7c27aeb2093f1f34b6cd684b2
parent60a45a7ed2b738b0761dc3ca7efc608f9a774e56
lspci: Decode Null Capability

The PCI Code and ID Assignment spec, r1.9, sec 2, defines a "Null
Capability" containing no registers other than the 8-bit Capability ID
(00h) and an 8-bit Next Capability Pointer.

Some devices, e.g., the Intel [8086:2058] implement this Capability.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
lib/header.h
ls-caps.c
ls-ecaps.c