]> git.ipfire.org Git - thirdparty/pciutils.git/commit
lspci: Indent PCIe Capability DevCap2 & DevCtl2 correctly
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 21 Apr 2017 19:32:09 +0000 (14:32 -0500)
committerMartin Mares <mj@ucw.cz>
Sat, 29 Apr 2017 18:05:07 +0000 (20:05 +0200)
commitc4cf2d1c17594d333ccd819212756e3afb8b9924
tree99edd346d764d9f130fb713649b49e022242dd0a
parent9a54979ebd6e770a181d59f7a614e45bd79c36f3
lspci: Indent PCIe Capability DevCap2 & DevCtl2 correctly

Indent the AtomicOpsCap and AtomicOpsCtl fields to make it clear that these
are part of the DevCap2 and DevCtl2 registers.

The difference in the "lspci -vv" output looks like this:

        DevCap2: Completion Timeout: Range ABC, TimeoutDis+, LTR+, OBFF Not Supported ARIFwd+
-       AtomicOpsCap: Routing- 32bit- 64bit- 128bitCAS-
+                AtomicOpsCap: Routing- 32bit- 64bit- 128bitCAS-
        DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR+, OBFF Disabled ARIFwd-
-       AtomicOpsCtl: ReqEn- EgressBlck-
+                AtomicOpsCtl: ReqEn- EgressBlck-

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