Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/kern/lib/libsys_linux implement linux_fakedev: sill...
details: https://anonhg.NetBSD.org/src/rev/eed000295bbb
branches: trunk
changeset: 785300:eed000295bbb
user: pooka <pooka%NetBSD.org@localhost>
date: Thu Mar 07 18:57:42 2013 +0000
description:
implement linux_fakedev: silly in, silly out, silly inside out
diffstat:
sys/rump/kern/lib/libsys_linux/component.c | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diffs (26 lines):
diff -r 620852c5e8ce -r eed000295bbb sys/rump/kern/lib/libsys_linux/component.c
--- a/sys/rump/kern/lib/libsys_linux/component.c Thu Mar 07 18:53:39 2013 +0000
+++ b/sys/rump/kern/lib/libsys_linux/component.c Thu Mar 07 18:57:42 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: component.c,v 1.4 2013/03/07 18:53:40 pooka Exp $ */
+/* $NetBSD: component.c,v 1.5 2013/03/07 18:57:42 pooka Exp $ */
#include <sys/param.h>
#include <sys/proc.h>
@@ -25,6 +25,16 @@
emul_default = &emul_rump_sys_linux;
}
+#include <compat/linux/common/linux_machdep.h>
+
+dev_t
+linux_fakedev(dev_t in, int raw)
+{
+
+ /* I don't really think it matters what we return here */
+ return in;
+}
+
/*
* XXX: the linux emulation code is not split into factions
*/
Home |
Main Index |
Thread Index |
Old Index