]> git.ipfire.org Git - thirdparty/pciutils.git/commit
lspci: Decode PCIe Link Capabilities 2, expand Link Status 2
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 21 May 2020 22:40:29 +0000 (17:40 -0500)
committerMartin Mares <mj@ucw.cz>
Mon, 25 May 2020 09:41:14 +0000 (11:41 +0200)
commit623ed0e1afa959013f4d7e507dd12cb9e4811577
treef3332cc740663df11c1ac87abc7bdaa7dcfaccb1
parent36111a627565f6fa04039aa674abcdaece1aa39e
lspci: Decode PCIe Link Capabilities 2, expand Link Status 2

Decode Link Capabilities 2, which includes the Supported Link Speeds
Vector, and decode more fields of Link Status 2.

The test case (data from https://bugzilla.kernel.org/show_bug.cgi?id=206837
comment #21) includes a Thunderbolt Downstream Port that advertises
2.5-8GT/s support in Link Capabilities 2.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
lib/header.h
ls-caps.c
tests/cap-exp-lnkcap2 [new file with mode: 0644]