opnsense-src/sys/i386
Colin Percival 6a75d3b3fb x86: Adjust base addr for PCI MCFG regions
Each bus gets 1 MB of address space; the actual base address for an
MCFG bus range is the address from the table plus the starting bus
number times 1 MB.

The PCI spec is unclear on this point, but this change matches what
Linux does, which is likely enough of a de facto standard regardless
of what any de jure standard might attempt to say.

Fixes:	f54a3890b1f4 ("x86: Support multiple PCI MCFG regions")
Reviewed by:	jhb
Differential Revision:	https://reviews.freebsd.org/D43206

(cherry picked from commit 61e2161367bb4e68e603f53b1107f9427f988861)
2024-01-18 15:24:35 -08:00
..
acpica sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
bios sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
conf release: update stable/14 following branching from main 2023-08-24 19:07:33 -04:00
i386 thread: Add a return value to cpu_set_upcall() 2024-01-01 19:29:48 -05:00
include sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
linux linux: Check for copyout errors in linux_fixup() 2024-01-01 19:29:49 -05:00
pci x86: Adjust base addr for PCI MCFG regions 2024-01-18 15:24:35 -08:00
Makefile sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00