HomeFreeBSD

acpi_spmc(4): Small probe improvements/fixes

Description

acpi_spmc(4): Small probe improvements/fixes

Remove the test on presence of an ACPI handle, this is implied by
ACPI_ID_PROBE() succeeding.

Set 'sc->dev' early, so that acpi_spmc_check_dsm_set() using
device_printf() will print the driver name.

Add a missing newline after printing that more DSM functions are
implemented then expected.

Reviewed by: obiwac
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D56483

Details

Provenance
olceAuthored on Apr 10 2026, 2:15 PM
Reviewer
obiwac
Differential Revision
D56483: acpi_spmc(4): Small probe improvements/fixes
Parents
rG2ac5b9bd0b13: uart/pci: use different probe return values
Branches
Unknown
Tags
Unknown