HomeFreeBSD

Only set the PCI bus end when we are reducing it

Description

Only set the PCI bus end when we are reducing it

We read the bus end value from the _CRS method. On some systems we need
to further limit it based on the MCFG table.

Support this by setting a default value, then update it if needed in the
_CRS table, and finally reduce it if it is past the end of the MCFG tabel.
This will allow for both systems that use either method to encode this
value.

This partially reverts r347929, removing the error printf.

Reviewed by: philip
Tested by: philip, Andrey Fesenko <f0andrey_gmail.com>
MFC after: 2 weeks
Sponsored by: Innovate UK
Differential Revision: https://reviews.freebsd.org/D27274

Details

Provenance
andrewAuthored on
Reviewer
philip
Differential Revision
D27274: Only set the PCI bus end when we are reducing it
Parents
rS368155: Remove orphaned configs.
Branches
Unknown
Tags
Unknown