Source-Changes-HG archive

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

[src/trunk]: src/sys/rump/dev/lib/libbpf In retrospect, putting bpf under the...



details:   https://anonhg.NetBSD.org/src/rev/81020c264c3d
branches:  trunk
changeset: 785308:81020c264c3d
user:      pooka <pooka%NetBSD.org@localhost>
date:      Thu Mar 07 21:21:37 2013 +0000

description:
In retrospect, putting bpf under the dev faction wasn't the smartest
thing to do (might have just as well put it under vfs).  It's maybe too
late to change the name/location, but at least make it attach as part
of net so that using bpf does not mandate linking in the dev faction.

diffstat:

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

diffs (27 lines):

diff -r 176321521b93 -r 81020c264c3d sys/rump/dev/lib/libbpf/component.c
--- a/sys/rump/dev/lib/libbpf/component.c       Thu Mar 07 21:12:25 2013 +0000
+++ b/sys/rump/dev/lib/libbpf/component.c       Thu Mar 07 21:21:37 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: component.c,v 1.3 2010/03/01 13:12:19 pooka Exp $      */
+/*     $NetBSD: component.c,v 1.4 2013/03/07 21:21:37 pooka Exp $      */
 
 /*
  * Copyright (c) 2010 Antti Kantee.  All Rights Reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: component.c,v 1.3 2010/03/01 13:12:19 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: component.c,v 1.4 2013/03/07 21:21:37 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/conf.h>
@@ -39,7 +39,7 @@
 #include "rump_private.h"
 #include "rump_vfs_private.h"
 
-RUMP_COMPONENT(RUMP_COMPONENT_DEV)
+RUMP_COMPONENT(RUMP_COMPONENT_NET)
 {
         extern const struct cdevsw bpf_cdevsw;
        devmajor_t bmaj, cmaj;



Home | Main Index | Thread Index | Old Index