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/libscsipi rename component.c -> scsipi_comp...
details: https://anonhg.NetBSD.org/src/rev/934f32a3cbad
branches: trunk
changeset: 327638:934f32a3cbad
user: pooka <pooka%NetBSD.org@localhost>
date: Thu Mar 13 01:58:20 2014 +0000
description:
rename component.c -> scsipi_component.c
diffstat:
sys/rump/dev/lib/libscsipi/Makefile | 4 +-
sys/rump/dev/lib/libscsipi/component.c | 39 ---------------------------
sys/rump/dev/lib/libscsipi/scsipi_component.c | 39 +++++++++++++++++++++++++++
3 files changed, 41 insertions(+), 41 deletions(-)
diffs (104 lines):
diff -r cbb32dae86b3 -r 934f32a3cbad sys/rump/dev/lib/libscsipi/Makefile
--- a/sys/rump/dev/lib/libscsipi/Makefile Thu Mar 13 01:57:52 2014 +0000
+++ b/sys/rump/dev/lib/libscsipi/Makefile Thu Mar 13 01:58:20 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2010/08/23 20:49:53 pooka Exp $
+# $NetBSD: Makefile,v 1.2 2014/03/13 01:58:20 pooka Exp $
#
.PATH: ${.CURDIR}/../../../../dev/scsipi
@@ -14,7 +14,7 @@
SRCS+= scsipi_verbose.c
.endif
-SRCS+= component.c
+SRCS+= scsipi_component.c
CPPFLAGS+= -I${.CURDIR}/opt -I${RUMPTOP}/librump/rumpvfs
diff -r cbb32dae86b3 -r 934f32a3cbad sys/rump/dev/lib/libscsipi/component.c
--- a/sys/rump/dev/lib/libscsipi/component.c Thu Mar 13 01:57:52 2014 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,39 +0,0 @@
-/* $NetBSD: component.c,v 1.1 2010/08/23 20:49:53 pooka Exp $ */
-
-#include <sys/param.h>
-#include <sys/conf.h>
-#include <sys/device.h>
-#include <sys/kmem.h>
-#include <sys/stat.h>
-
-#include "ioconf.c"
-
-#include "rump_private.h"
-#include "rump_dev_private.h"
-#include "rump_vfs_private.h"
-
-RUMP_COMPONENT(RUMP_COMPONENT_DEV)
-{
- extern struct bdevsw sd_bdevsw, cd_bdevsw;
- extern struct cdevsw sd_cdevsw, cd_cdevsw;
- devmajor_t bmaj, cmaj;
-
- config_init_component(cfdriver_ioconf_scsipi,
- cfattach_ioconf_scsipi, cfdata_ioconf_scsipi);
-
- bmaj = cmaj = -1;
- FLAWLESSCALL(devsw_attach("sd", &sd_bdevsw, &bmaj, &sd_cdevsw, &cmaj));
-
- FLAWLESSCALL(rump_vfs_makedevnodes(S_IFBLK, "/dev/sd0", 'a',
- bmaj, 0, 8));
- FLAWLESSCALL(rump_vfs_makedevnodes(S_IFCHR, "/dev/rsd0", 'a',
- cmaj, 0, 8));
-
- bmaj = cmaj = -1;
- FLAWLESSCALL(devsw_attach("cd", &cd_bdevsw, &bmaj, &cd_cdevsw, &cmaj));
-
- FLAWLESSCALL(rump_vfs_makedevnodes(S_IFBLK, "/dev/cd0", 'a',
- bmaj, 0, 8));
- FLAWLESSCALL(rump_vfs_makedevnodes(S_IFCHR, "/dev/rcd0", 'a',
- cmaj, 0, 8));
-}
diff -r cbb32dae86b3 -r 934f32a3cbad sys/rump/dev/lib/libscsipi/scsipi_component.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/rump/dev/lib/libscsipi/scsipi_component.c Thu Mar 13 01:58:20 2014 +0000
@@ -0,0 +1,39 @@
+/* $NetBSD: scsipi_component.c,v 1.1 2014/03/13 01:58:20 pooka Exp $ */
+
+#include <sys/param.h>
+#include <sys/conf.h>
+#include <sys/device.h>
+#include <sys/kmem.h>
+#include <sys/stat.h>
+
+#include "ioconf.c"
+
+#include "rump_private.h"
+#include "rump_dev_private.h"
+#include "rump_vfs_private.h"
+
+RUMP_COMPONENT(RUMP_COMPONENT_DEV)
+{
+ extern struct bdevsw sd_bdevsw, cd_bdevsw;
+ extern struct cdevsw sd_cdevsw, cd_cdevsw;
+ devmajor_t bmaj, cmaj;
+
+ config_init_component(cfdriver_ioconf_scsipi,
+ cfattach_ioconf_scsipi, cfdata_ioconf_scsipi);
+
+ bmaj = cmaj = -1;
+ FLAWLESSCALL(devsw_attach("sd", &sd_bdevsw, &bmaj, &sd_cdevsw, &cmaj));
+
+ FLAWLESSCALL(rump_vfs_makedevnodes(S_IFBLK, "/dev/sd0", 'a',
+ bmaj, 0, 8));
+ FLAWLESSCALL(rump_vfs_makedevnodes(S_IFCHR, "/dev/rsd0", 'a',
+ cmaj, 0, 8));
+
+ bmaj = cmaj = -1;
+ FLAWLESSCALL(devsw_attach("cd", &cd_bdevsw, &bmaj, &cd_cdevsw, &cmaj));
+
+ FLAWLESSCALL(rump_vfs_makedevnodes(S_IFBLK, "/dev/cd0", 'a',
+ bmaj, 0, 8));
+ FLAWLESSCALL(rump_vfs_makedevnodes(S_IFCHR, "/dev/rcd0", 'a',
+ cmaj, 0, 8));
+}
Home |
Main Index |
Thread Index |
Old Index