HomeFreeBSD

pci: avoid accidental clobbering of regs on some fdt platforms

Description

pci: avoid accidental clobbering of regs on some fdt platforms

Most pci controllers will just have a single reg for the config space,
but others (e.g., on Apple Silicon) may have more following that to
describe, e.g., controller port space. Bump the "ranges" rid space up
to avoid overriding these other memory resources.

Reviewed by: jhb
Differential Revision: https://reviews.freebsd.org/D43921

(cherry picked from commit b313229969cc56a057dfea28506784fd5468c6f3)

Details

Provenance
kevansAuthored on Dec 29 2024, 3:57 AM
jhbCommitted on Apr 29 2025, 2:17 PM
Reviewer
jhb
Differential Revision
D43921: pci: avoid accidental clobbering of regs on some fdt platforms
Parents
rG7bc852d94dbf: pci: propagate vpd read error
Branches
Unknown
Tags
Unknown