]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pci: ecam: Do not warn on mismatch of bus_end
authormanu <manu@FreeBSD.org>
Fri, 17 May 2019 17:04:01 +0000 (17:04 +0000)
committermanu <manu@FreeBSD.org>
Fri, 17 May 2019 17:04:01 +0000 (17:04 +0000)
commit77cb8c789c91e61ceb7c522736a52f5bd8ab7959
tree3cf5f01dbed5af0d806aadaf1dece4e76748e63a
parent3cfe83e1e000b8eeb0bb94d62be1eb5ac7985ece
pci: ecam: Do not warn on mismatch of bus_end

We cannot know the bus end number before parsing the MCFG table
so don't set the bus_end before that. If the MCFG table doesn't
exist we will set the configuration base address based on the _CBA
value and set the bus_end to the maximal number allowed by PCI.

Sponsored by: Ampere Computing, LLC

Differential Revision: https://reviews.freebsd.org/D20213
sys/dev/pci/pci_host_generic_acpi.c