Module Name: src Committed By: thorpej Date: Wed Jan 27 04:54:08 UTC 2021
Modified Files: src/sys/kern: subr_autoconf.c src/sys/sys: device.h Log Message: Add device_compatible_match_id() and device_compatible_lookup_id(), which are like device_compatible_match() and device_compatible_lookup(), but take a single scalar value as an ID. Add a "uintptr_t id" field to device_compatible_entry, in an anonymous union with the existing "const char *compat" field. To generate a diff of this commit: cvs rdiff -u -r1.276 -r1.277 src/sys/kern/subr_autoconf.c cvs rdiff -u -r1.163 -r1.164 src/sys/sys/device.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.