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/libdm Don't attach as pseudo device here. ...
details: https://anonhg.NetBSD.org/src/rev/53ef4f0b93de
branches: trunk
changeset: 757997:53ef4f0b93de
user: pooka <pooka%NetBSD.org@localhost>
date: Tue Oct 12 09:14:43 2010 +0000
description:
Don't attach as pseudo device here. This driver does attach in modcmd.
diffstat:
sys/rump/dev/lib/libdm/component.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diffs (33 lines):
diff -r db84581d7c97 -r 53ef4f0b93de sys/rump/dev/lib/libdm/component.c
--- a/sys/rump/dev/lib/libdm/component.c Tue Oct 12 06:39:48 2010 +0000
+++ b/sys/rump/dev/lib/libdm/component.c Tue Oct 12 09:14:43 2010 +0000
@@ -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);
}
Home |
Main Index |
Thread Index |
Old Index