]> git.ipfire.org Git - thirdparty/pciutils.git/commit
lspci: Fully decode ASPM support from Link Capabilities
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 17 May 2013 19:48:19 +0000 (13:48 -0600)
committerMartin Mares <mj@ucw.cz>
Mon, 20 May 2013 07:05:47 +0000 (09:05 +0200)
commit87bc7e64dab51e2627fa8b2536d9c3218b8f75e7
tree121fb98a442fa0ca976c84000beff871c92299bd
parent215105913df7ff726e21b21a93cc8c8b43f344e8
lspci: Fully decode ASPM support from Link Capabilities

The ASPM Support field in Link Capabilities is two bits, and all four
possible encodings are defined as of PCIe spec r3.0.  Previously, lspci
only decoded values 1, 2, and 3.  This adds 0, so lspci will show "ASPM
not supported" instead of "ASPM unknown".

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
ls-caps.c