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/libwscons rename component.c -> wscons_comp...
details: https://anonhg.NetBSD.org/src/rev/5ae80232a92e
branches: trunk
changeset: 327624:5ae80232a92e
user: pooka <pooka%NetBSD.org@localhost>
date: Thu Mar 13 01:48:08 2014 +0000
description:
rename component.c -> wscons_component.c
diffstat:
sys/rump/dev/lib/libwscons/Makefile | 4 +-
sys/rump/dev/lib/libwscons/component.c | 31 ---------------------------
sys/rump/dev/lib/libwscons/wscons_component.c | 31 +++++++++++++++++++++++++++
3 files changed, 33 insertions(+), 33 deletions(-)
diffs (88 lines):
diff -r c62c445f93f9 -r 5ae80232a92e sys/rump/dev/lib/libwscons/Makefile
--- a/sys/rump/dev/lib/libwscons/Makefile Thu Mar 13 01:47:07 2014 +0000
+++ b/sys/rump/dev/lib/libwscons/Makefile Thu Mar 13 01:48:08 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2010/03/08 10:54:21 pooka Exp $
+# $NetBSD: Makefile,v 1.4 2014/03/13 01:48:08 pooka Exp $
#
.PATH: ${.CURDIR}/../../../../dev/wscons
@@ -8,7 +8,7 @@
SRCS= wsevent.c wskbd.c wskbdutil.c wsmouse.c
-SRCS+= component.c
+SRCS+= wscons_component.c
CPPFLAGS+= -I${RUMPTOP}/librump/rumpvfs -I${.CURDIR}/opt
diff -r c62c445f93f9 -r 5ae80232a92e sys/rump/dev/lib/libwscons/component.c
--- a/sys/rump/dev/lib/libwscons/component.c Thu Mar 13 01:47:07 2014 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,31 +0,0 @@
-/* $NetBSD: component.c,v 1.5 2010/03/26 15:51:55 pooka Exp $ */
-
-#include <sys/param.h>
-#include <sys/conf.h>
-#include <sys/device.h>
-#include <sys/mount.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 cdevsw wskbd_cdevsw, wsmouse_cdevsw;
- devmajor_t bmaj, cmaj;
-
- config_init_component(cfdriver_ioconf_wscons,
- cfattach_ioconf_wscons, cfdata_ioconf_wscons);
-
- bmaj = cmaj = -1;
- FLAWLESSCALL(devsw_attach("wskbd", NULL, &bmaj, &wskbd_cdevsw, &cmaj));
- FLAWLESSCALL(rump_vfs_makeonedevnode(S_IFCHR, "/dev/wskbd", cmaj, 0));
-
- bmaj = cmaj = -1;
- FLAWLESSCALL(devsw_attach("wsmouse", NULL, &bmaj,
- &wsmouse_cdevsw, &cmaj));
- FLAWLESSCALL(rump_vfs_makeonedevnode(S_IFCHR, "/dev/wsmouse", cmaj, 0));
-}
diff -r c62c445f93f9 -r 5ae80232a92e sys/rump/dev/lib/libwscons/wscons_component.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/rump/dev/lib/libwscons/wscons_component.c Thu Mar 13 01:48:08 2014 +0000
@@ -0,0 +1,31 @@
+/* $NetBSD: wscons_component.c,v 1.1 2014/03/13 01:48:08 pooka Exp $ */
+
+#include <sys/param.h>
+#include <sys/conf.h>
+#include <sys/device.h>
+#include <sys/mount.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 cdevsw wskbd_cdevsw, wsmouse_cdevsw;
+ devmajor_t bmaj, cmaj;
+
+ config_init_component(cfdriver_ioconf_wscons,
+ cfattach_ioconf_wscons, cfdata_ioconf_wscons);
+
+ bmaj = cmaj = -1;
+ FLAWLESSCALL(devsw_attach("wskbd", NULL, &bmaj, &wskbd_cdevsw, &cmaj));
+ FLAWLESSCALL(rump_vfs_makeonedevnode(S_IFCHR, "/dev/wskbd", cmaj, 0));
+
+ bmaj = cmaj = -1;
+ FLAWLESSCALL(devsw_attach("wsmouse", NULL, &bmaj,
+ &wsmouse_cdevsw, &cmaj));
+ FLAWLESSCALL(rump_vfs_makeonedevnode(S_IFCHR, "/dev/wsmouse", cmaj, 0));
+}
Home |
Main Index |
Thread Index |
Old Index