Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/rump/net/lib/libnpf Run constructor as part of network f...



details:   https://anonhg.NetBSD.org/src/rev/739686c57d22
branches:  trunk
changeset: 327049:739686c57d22
user:      pooka <pooka%NetBSD.org@localhost>
date:      Wed Feb 26 02:39:29 2014 +0000

description:
Run constructor as part of network faction bootstrap, not device
(rumpdev no longer necessary)

diffstat:

 sys/rump/net/lib/libnpf/component.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 4ffd0541f0b4 -r 739686c57d22 sys/rump/net/lib/libnpf/component.c
--- a/sys/rump/net/lib/libnpf/component.c       Wed Feb 26 02:07:58 2014 +0000
+++ b/sys/rump/net/lib/libnpf/component.c       Wed Feb 26 02:39:29 2014 +0000
@@ -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 @@
 
 extern const struct cdevsw npf_cdevsw;
 
-RUMP_COMPONENT(RUMP_COMPONENT_DEV)
+RUMP_COMPONENT(RUMP_COMPONENT_NET)
 {
        devmajor_t bmajor = NODEVMAJOR, cmajor = NODEVMAJOR;
        int error;



Home | Main Index | Thread Index | Old Index