Module Name:    src
Committed By:   pooka
Date:           Tue Oct 12 09:14:43 UTC 2010

Modified Files:
        src/sys/rump/dev/lib/libdm: component.c

Log Message:
Don't attach as pseudo device here.  This driver does attach in modcmd.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/rump/dev/lib/libdm/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/dev/lib/libdm/component.c
diff -u src/sys/rump/dev/lib/libdm/component.c:1.2 src/sys/rump/dev/lib/libdm/component.c:1.3
--- src/sys/rump/dev/lib/libdm/component.c:1.2	Mon Mar  1 13:12:19 2010
+++ src/sys/rump/dev/lib/libdm/component.c	Tue Oct 12 09:14:43 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: component.c,v 1.2 2010/03/01 13:12:19 pooka Exp $	*/
+/*	$NetBSD: component.c,v 1.3 2010/10/12 09:14:43 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.2 2010/03/01 13:12:19 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: component.c,v 1.3 2010/10/12 09:14:43 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/conf.h>
@@ -40,8 +40,6 @@
 #include "rump_dev_private.h"
 #include "rump_vfs_private.h"
 
-void dmattach(int);
-
 RUMP_COMPONENT(RUMP_COMPONENT_DEV)
 {
 	extern const struct bdevsw dm_bdevsw;
@@ -63,5 +61,4 @@
 		panic("cannot create device-mapper control device: %d", error);
 		 
 	}
-	rump_pdev_add(dmattach, 1);
 }

Reply via email to