git: Use pseudo-device to specify number of precreated devs

看板DFBSD_commit作者時間16年前 (2009/09/01 18:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 95db3aac46e4848403464168e363dfc738549735 Author: Alex Hornung <ahornung@gmail.com> Date: Tue Sep 1 07:55:15 2009 +0100 Use pseudo-device to specify number of precreated devs * use pseudo-device <dev> <n> in the kernel config to specify the number of devices to precreate (<n>) for snp, tun, vn, bpf. * The full rationale (for vn, snp, bpf and tun) is: - if NO pseudo-device foo is specified, 4 devices will be precreated. - if pseudo-device foo is specified, 4 devices will be precreated. - if pseudo-device foo N, where N > 1 is specified, N devices will be precreated. Summary of changes: sys/dev/disk/vn/vn.c | 6 ++++++ sys/dev/misc/snp/snp.c | 6 ++++++ sys/net/bpf.c | 5 +++++ sys/net/tun/if_tun.c | 6 ++++++ 4 files changed, 23 insertions(+), 0 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/95db3aac46e4848403464168e363dfc738549735 -- DragonFly BSD source repository
文章代碼(AID): #1AdFWcYw (DFBSD_commit)