Module Name: src Committed By: thorpej Date: Sun Apr 4 19:12:28 UTC 2021
Modified Files: src/sys/kern [thorpej-cfargs]: subr_autoconf.c src/sys/sys [thorpej-cfargs]: device.h Log Message: Add a CFARG_SEARCH tag, which specifies an indirect config search function (which has the same signature as a direct config submatch function). This is a synonym for CFARG_SUBMATCH internally, but this is an implementation detail; the two things should be distinct to callers, because submatch and search functions have different behaviors. Only one SEARCH or SUBMATCH argument is allowed. Also, change config_get_cfargs() to panic if an unknown tag is passed (we don't know what kind of argument to consume after an unknown tag, so this is fatal). To generate a diff of this commit: cvs rdiff -u -r1.277.2.10 -r1.277.2.11 src/sys/kern/subr_autoconf.c cvs rdiff -u -r1.167.2.7 -r1.167.2.8 src/sys/sys/device.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.