Module Name: src Committed By: thorpej Date: Wed Jan 27 05:11:54 UTC 2021
Modified Files: src/sys/dev/acpi: acpi_util.c acpivar.h Log Message: Introduce weighted matching for ACPI autoconfiguration, and provide acpi_compatible_match() based around device_compatible_entry. Matches against _HID score big, matches against _CID are weighted in the standard most-to-least-specific ordering, less than _HID. Also provide a maching value for _CLS, that's always less than _HID and _CID matches, and use that in acpi_match_class(). Also provide acpi_compatible_lookup(), that returing the matching entry based on the same criteria. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/sys/dev/acpi/acpi_util.c cvs rdiff -u -r1.83 -r1.84 src/sys/dev/acpi/acpivar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.