Module Name: src Committed By: riastradh Date: Thu Mar 3 06:25:46 UTC 2022
Modified Files: src/sys/kern: subr_device.c src/sys/sys: device.h Log Message: driver(9): New device_set_private. Used to initialize a device_t's private pointer at most once. Only for drivers with zero cfattach size so autoconf doesn't preallocate; KASSERT checks for this mistake. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/kern/subr_device.c cvs rdiff -u -r1.178 -r1.179 src/sys/sys/device.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.