]> git.ipfire.org Git - thirdparty/pciutils.git/commit
lspci: Print PCIe Interrupt Message Numbers consistently
authorBjorn Helgaas <bhelgaas@google.com>
Wed, 18 Oct 2023 16:08:34 +0000 (11:08 -0500)
committerMartin Mares <mj@ucw.cz>
Wed, 18 Oct 2023 18:57:05 +0000 (20:57 +0200)
commitaeb74fe2d17657152ba7a84b5eb58dafcdea9d53
tree716080dbfbb12975015d7c85dc5e753dfcd58a3f
parent011ca4bb4baad6e3e4334ac6609ba99e771dbf98
lspci: Print PCIe Interrupt Message Numbers consistently

Several Capabilities include MSI/MSI-X Interrupt Message Numbers, which
were decoded in various ways:

  - MSI %02x                             PCIe Capability
  - IntMsg %d                            AER Capability
  - INT Msg #%d                          DPC Capability
  - Interrupt Message Number %03x        SR-IOV Capability
  - Interrupt Message Number %03x        DOE Capability

Print them all using the same format:

  + IntMsgNum %d

This better matches the "Interrupt Message Number" terminology used in the
spec, e.g., PCIe r6.0, sec 7.5.3.2.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Jonathan Cameron <Jonathan.Cameron@huawei.com>
ls-caps.c
ls-ecaps.c