Module Name: src Committed By: thorpej Date: Sun Jan 24 17:42:37 UTC 2021
Modified Files: src/sys/kern: subr_autoconf.c src/sys/sys: device.h Log Message: Refactor and simplify device_compatible_match(), and also provide device_compatible_p{match,lookup}() which treats the strings in the driver compatible data as pmatch(9) patterns. Add device_compatible_{,p}{match,lookup}_strlist(), which are the same, but take an OpenFirmware-style string list rather than an array of strings for the device data. To generate a diff of this commit: cvs rdiff -u -r1.275 -r1.276 src/sys/kern/subr_autoconf.c cvs rdiff -u -r1.161 -r1.162 src/sys/sys/device.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.