]> git.ipfire.org Git - thirdparty/pciutils.git/commit
lspci: Correct Root Capabilities "CRS Software Visibility" bit
authorBjorn Helgaas <bhelgaas@google.com>
Tue, 2 Sep 2014 04:03:46 +0000 (22:03 -0600)
committerMartin Mares <mj@ucw.cz>
Sat, 1 Nov 2014 15:25:07 +0000 (16:25 +0100)
commit1cefd379194e1b5ab81c33905357b6ac8ed69b76
tree30267e8484e49cdeedfcb101f3ce951d700aa512
parent001b9ac6d7b706a223faa7d2dd1bd7d50393e2c9
lspci: Correct Root Capabilities "CRS Software Visibility" bit

lspci incorrectly tests bit 4, not bit 0, for "CRS Software Visibility" in
the Root Capabilities register, so it shows "RootCap: CRSVisible-" even for
devices that do support Software Visibility.

Use the correct definition for PCI_EXP_RTCAP_CRSVIS.

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