]> git.ipfire.org Git - thirdparty/pciutils.git/commit
lspci: Use PCI_FILL_BRIDGE_BASES to detect if range behind bridge is disabled or...
authorPali Rohár <pali@kernel.org>
Sat, 20 Nov 2021 14:13:20 +0000 (15:13 +0100)
committerMartin Mares <mj@ucw.cz>
Thu, 10 Feb 2022 12:49:35 +0000 (13:49 +0100)
commitccf68033a452cd32ac4c1f7d8618e79102bd08a8
tree71bcfa224de86cb878f76e76548506dfd3304285
parent119c1376f9ca4d359a1816af9d31f4a2c2c83307
lspci: Use PCI_FILL_BRIDGE_BASES to detect if range behind bridge is disabled or unsupported

Show resources behind bridge as reported by PCI_FILL_BRIDGE_BASES.

I/O or Prefetchable memory behind bridge is unsupported by bridge if both
base and limit bridge registers are read-only and returns zero. So if base
and limit registers returns zero (which is valid enabled range) and kernel
reports that particular resource is disabled it means that resource is
unsupported. Both I/O or Prefetchable memory resources are only optional.
lspci.c