Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys
Module Name: src
Committed By: riastradh
Date: Mon Mar 28 12:33:59 UTC 2022
Modified Files:
src/sys/kern: subr_disk.c
src/sys/sys: disklabel.h
Log Message:
disk(9): New function disklabel_dev_unit.
Maps a dev_t like wd3e to an autoconf instance number like 3, with no
partition. Same as DISKUNIT macro, but is a symbol whose pointer can
be taken. Meant for use with struct bdevsw, cdevsw::d_devtounit.
To generate a diff of this commit:
cvs rdiff -u -r1.133 -r1.134 src/sys/kern/subr_disk.c
cvs rdiff -u -r1.125 -r1.126 src/sys/sys/disklabel.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index