]> git.ipfire.org Git - thirdparty/pciutils.git/commit
lspci: better display of ranges behind a bridge
authorMartin Mares <mj@ucw.cz>
Sat, 31 Dec 2016 15:55:23 +0000 (16:55 +0100)
committerMartin Mares <mj@ucw.cz>
Sat, 31 Dec 2016 15:55:23 +0000 (16:55 +0100)
commit41d883cb97f94e844e96b4631a99c3da557cf162
treeb6b829266d3d830156399ba01bfe0ef9041e16ef
parentcc8401569d136d8a40f30190123a02c41db36183
lspci: better display of ranges behind a bridge

When the range is non-empty, it is always printed together with
its size.

If it is empty, the output depends on the verbosity level chosen:

  - no verbosity: nothing is printed
  - -vvv: full range is printed
  - anything between: "none" is printed

Thanks to Harry Mallon and Bjorn Helgaas for inspiration.
lspci.c