CVS commit: src/sys
"Simon Burge" <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.cvs |
|---|---|
| Message-ID | <[email protected]> |
Module Name: src Committed By: simonb Date: Tue May 26 14:50:52 UTC 2026 Modified Files: src/sys/dev/dkwedge: dk.c src/sys/dev/flash: flash.c src/sys/kern: kern_subr.c subr_device.c src/sys/sys: device.h Log Message: Add a cfattach device flag specifying that the device has no partitions. Use this flag in the "dk" and "flash" drivers. The new device flag can be checked with the device_has_partitions() function. Removes device-specific knowledge about which devices have partitions from sys/kern/kern_subr.c . To generate a diff of this commit: cvs rdiff -u -r1.173 -r1.174 src/sys/dev/dkwedge/dk.c cvs rdiff -u -r1.19 -r1.20 src/sys/dev/flash/flash.c cvs rdiff -u -r1.231 -r1.232 src/sys/kern/kern_subr.c cvs rdiff -u -r1.20 -r1.21 src/sys/kern/subr_device.c cvs rdiff -u -r1.193 -r1.194 src/sys/sys/device.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.