]> git.ipfire.org Git - thirdparty/pciutils.git/commit - ls-caps.c
lspci: Use commas more consistently
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 21 May 2020 22:40:30 +0000 (17:40 -0500)
committerMartin Mares <mj@ucw.cz>
Mon, 25 May 2020 09:41:52 +0000 (11:41 +0200)
commit018f413ceb674d3c5c52a3a78bcad3b9daab9a26
treeaad218b34063ccca3107630a948a460036b29b89
parent623ed0e1afa959013f4d7e507dd12cb9e4811577
lspci: Use commas more consistently

General practice has been to use a comma after a multi-word item, but omit
commas between single-bit flags.  Do this more consistently.

Sample output changes:

  - LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- CommClk+
  + LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled- CommClk+

  - DevCap2: Completion Timeout: Not Supported, TimeoutDis-, NROPrPrP-, LTR+
  + DevCap2: Completion Timeout: Not Supported, TimeoutDis- NROPrPrP- LTR+

  -          10BitTagComp-, 10BitTagReq-, OBFF Not Supported, ExtFmt-, EETLPPrefix-
  +          10BitTagComp- 10BitTagReq- OBFF Not Supported, ExtFmt- EETLPPrefix-

  -          FRS-, ARIFwd-
  +          FRS- ARIFwd-

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