Module Name:    src
Committed By:   pooka
Date:           Mon Sep  7 14:28:18 UTC 2009

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

Log Message:
one more ketchup with rump_dev_makenodes -> rump_vfs_makedevnodes


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/rump/dev/lib/libraidframe/Makefile
cvs rdiff -u -r1.2 -r1.3 src/sys/rump/dev/lib/libraidframe/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/libraidframe/Makefile
diff -u src/sys/rump/dev/lib/libraidframe/Makefile:1.1 src/sys/rump/dev/lib/libraidframe/Makefile:1.2
--- src/sys/rump/dev/lib/libraidframe/Makefile:1.1	Tue Jun  9 16:16:15 2009
+++ src/sys/rump/dev/lib/libraidframe/Makefile	Mon Sep  7 14:28:18 2009
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1 2009/06/09 16:16:15 pooka Exp $
+#	$NetBSD: Makefile,v 1.2 2009/09/07 14:28:18 pooka Exp $
 #
 
 .PATH:	${.CURDIR}/../../../../dev/raidframe
@@ -23,5 +23,7 @@
 
 SRCS+=	component.c
 
+CPPFLAGS+=	-I${RUMPTOP}/librump/rumpvfs
+
 .include <bsd.lib.mk>
 .include <bsd.klinks.mk>

Index: src/sys/rump/dev/lib/libraidframe/component.c
diff -u src/sys/rump/dev/lib/libraidframe/component.c:1.2 src/sys/rump/dev/lib/libraidframe/component.c:1.3
--- src/sys/rump/dev/lib/libraidframe/component.c:1.2	Mon Jul 20 18:11:37 2009
+++ src/sys/rump/dev/lib/libraidframe/component.c	Mon Sep  7 14:28:18 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: component.c,v 1.2 2009/07/20 18:11:37 pooka Exp $	*/
+/*	$NetBSD: component.c,v 1.3 2009/09/07 14:28:18 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 2009/07/20 18:11:37 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: component.c,v 1.3 2009/09/07 14:28:18 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/conf.h>
@@ -34,6 +34,7 @@
 #include <sys/stat.h>
 
 #include "rump_dev_private.h"
+#include "rump_vfs_private.h"
 
 CFDRIVER_DECL(raid, DV_DISK, NULL);
 
@@ -54,10 +55,10 @@
 	    &raid_cdevsw, &cmaj)) != 0)
 		panic("raid devsw attach failed: %d", error);
 
-	if ((error = rump_dev_makenodes(S_IFBLK, "raid0", 'a',
+	if ((error = rump_vfs_makedevnodes(S_IFBLK, "raid0", 'a',
 	    bmaj, 0, 7)) != 0)
 		panic("cannot create cooked raid dev nodes: %d", error);
-	if ((error = rump_dev_makenodes(S_IFCHR, "rraid0", 'a',
+	if ((error = rump_vfs_makedevnodes(S_IFCHR, "rraid0", 'a',
 	    cmaj, 0, 7)) != 0)
 		panic("cannot create raw raid dev nodes: %d", error);
 

Reply via email to