summaryrefslogtreecommitdiff
path: root/sys/modules
diff options
context:
space:
mode:
authorjmcneill <jmcneill@NetBSD.org>2011-10-17 22:39:22 +0000
committerjmcneill <jmcneill@NetBSD.org>2011-10-17 22:39:22 +0000
commit47972ca94ac2bf42de7da139fe9feb15d60f265e (patch)
tree9c7a739961458999d48287dbfb82c2f04c9c4e81 /sys/modules
parent15bf83b9726f526ecb2ee9676f44c5260f26f7e1 (diff)
add a port of the VMware Tools driver vmt(4) from OpenBSD
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/vmt/Makefile14
-rw-r--r--sys/modules/vmt/vmt.ioconf10
2 files changed, 24 insertions, 0 deletions
diff --git a/sys/modules/vmt/Makefile b/sys/modules/vmt/Makefile
new file mode 100644
index 00000000000..f33fa866273
--- /dev/null
+++ b/sys/modules/vmt/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1 2011/10/17 22:39:23 jmcneill Exp $
+
+.include "../Makefile.inc"
+
+.PATH: ${S}/arch/x86/x86
+
+KMOD= vmt
+IOCONF= vmt.ioconf
+SRCS= vmt.c
+COPTS.vmt.c= -O0
+
+WARNS= 4
+
+.include <bsd.kmodule.mk>
diff --git a/sys/modules/vmt/vmt.ioconf b/sys/modules/vmt/vmt.ioconf
new file mode 100644
index 00000000000..0100425c505
--- /dev/null
+++ b/sys/modules/vmt/vmt.ioconf
@@ -0,0 +1,10 @@
+# $NetBSD: vmt.ioconf,v 1.1 2011/10/17 22:39:23 jmcneill Exp $
+
+ioconf vmt
+
+include "conf/files"
+include "arch/x86/conf/files.x86"
+
+pseudo-root cpufeaturebus*
+
+vmt0 at cpufeaturebus?