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/libcgd cgd is attached via the module inter...



details:   https://anonhg.NetBSD.org/src/rev/6e1bca64a03f
branches:  trunk
changeset: 750751:6e1bca64a03f
user:      pooka <pooka%NetBSD.org@localhost>
date:      Wed Jan 13 00:31:57 2010 +0000

description:
cgd is attached via the module interface now instead of pseudodevs.

diffstat:

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

diffs (34 lines):

diff -r 1b9a219e3fdf -r 6e1bca64a03f sys/rump/dev/lib/libcgd/component.c
--- a/sys/rump/dev/lib/libcgd/component.c       Wed Jan 13 00:07:40 2010 +0000
+++ b/sys/rump/dev/lib/libcgd/component.c       Wed Jan 13 00:31:57 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: component.c,v 1.4 2009/12/03 15:06:04 pooka Exp $      */
+/*     $NetBSD: component.c,v 1.5 2010/01/13 00:31:57 pooka Exp $      */
 
 /*
  * Copyright (c) 2009 Antti Kantee.  All Rights Reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: component.c,v 1.4 2009/12/03 15:06:04 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: component.c,v 1.5 2010/01/13 00:31:57 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/conf.h>
@@ -36,8 +36,6 @@
 #include "rump_dev_private.h"
 #include "rump_vfs_private.h"
 
-void cgdattach(int);
-
 void
 rump_dev_cgd_init()
 {
@@ -59,6 +57,4 @@
        if ((error = rump_vfs_makedevnodes(S_IFCHR, "/dev/rcgd0", 'a',
            cmaj, 0, 7)) != 0)
                panic("cannot create raw cgd dev nodes: %d", error);
-
-       rump_pdev_add(cgdattach, 4);
 }



Home | Main Index | Thread Index | Old Index