]> mj.ucw.cz Git - pciutils.git/commit
lspci: Reorder Express Root Complex registers to Cap, Ctl, Sta
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 17 May 2019 18:40:22 +0000 (13:40 -0500)
committerMartin Mares <mj@ucw.cz>
Tue, 21 Jan 2020 20:45:06 +0000 (21:45 +0100)
commite6a11bb4a42c904cd64b8733fc67ce16a88f8b23
treee970f5912d32cb479a3c542428b0f0415c7b89be
parent082cad9f1d4ff10b82ce08bb9fcde3c095d616ff
lspci: Reorder Express Root Complex registers to Cap, Ctl, Sta

Registers in the PCI Express Capability come in sets of three (Capability,
Control, Status), and we typically print them in that order.  The Root
Complex-related registers were an exception: we printed them in the
(Control, Capability, Status) order.

Decode the RootCap, RootCtl, and RootSta registers in the usual order.

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