Module Name: src Committed By: pooka Date: Wed Feb 26 02:39:29 UTC 2014
Modified Files: src/sys/rump/net/lib/libnpf: component.c Log Message: Run constructor as part of network faction bootstrap, not device (rumpdev no longer necessary) To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/rump/net/lib/libnpf/component.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/rump/net/lib/libnpf/component.c diff -u src/sys/rump/net/lib/libnpf/component.c:1.2 src/sys/rump/net/lib/libnpf/component.c:1.3 --- src/sys/rump/net/lib/libnpf/component.c:1.2 Sun Mar 10 21:01:19 2013 +++ src/sys/rump/net/lib/libnpf/component.c Wed Feb 26 02:39:29 2014 @@ -1,11 +1,11 @@ -/* $NetBSD: component.c,v 1.2 2013/03/10 21:01:19 christos Exp $ */ +/* $NetBSD: component.c,v 1.3 2014/02/26 02:39:29 pooka Exp $ */ /* * Public Domain. */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: component.c,v 1.2 2013/03/10 21:01:19 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: component.c,v 1.3 2014/02/26 02:39:29 pooka Exp $"); #include <sys/param.h> #include <sys/conf.h> @@ -17,7 +17,7 @@ __KERNEL_RCSID(0, "$NetBSD: component.c, extern const struct cdevsw npf_cdevsw; -RUMP_COMPONENT(RUMP_COMPONENT_DEV) +RUMP_COMPONENT(RUMP_COMPONENT_NET) { devmajor_t bmajor = NODEVMAJOR, cmajor = NODEVMAJOR; int error;