Files
freebsd/sys/dev/asmc
Abdelkader Boudih 7a0f01a84d asmc: prefer MMIO backend over PIO when both are present
T2, T1, and some pre-T1 Macs advertise a legacy PIO
range in the SMC ACPI _CRS alongside a live MMIO window, but the
silicon behind the PIO range is bogus.

Try MMIO first, validate via LDKN >= 2, fall back to PIO if that
fails or no MMIO resource is present. Drop "(T2)" from the backend
message since MMIO isn't T2-exclusive.

MFC: 1 week
Reviewed by:	ngie
Differential Revision:	https://reviews.freebsd.org/D58839

(cherry picked from commit 37826269b4)
2026-09-05 16:31:47 -07:00
..
2026-09-05 16:31:46 -07:00