看板 DFBSD_commit 關於我們 聯絡資訊
commit b96f378285b11845945ab3a651dc0c03e3ad84a3 Author: Alex Hornung <ahornung@gmail.com> Date: Wed Aug 5 20:25:42 2009 +0100 DEVFS - add make_autoclone_dev to take of clone initializing for devs by creating the device with the right miinor, initing the clone bitmap and registering the clone handler. Also fix up all users of cloning to use this new API. Summary of changes: sys/bus/cam/scsi/scsi_target.c | 5 ++--- sys/dev/misc/snp/snp.c | 6 ++---- sys/kern/kern_conf.c | 21 +++++++++++++++++++++ sys/net/bpf.c | 7 ++----- sys/net/tun/if_tun.c | 7 ++----- sys/netproto/smb/smb_dev.c | 6 ++---- sys/sys/device.h | 3 +++ 7 files changed, 34 insertions(+), 21 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b96f378285b11845945ab3a651dc0c03e3ad84a3 -- DragonFly BSD source repository