summaryrefslogtreecommitdiffstats
path: root/sys/dev/pv/files.pv
diff options
context:
space:
mode:
authorreyk <reyk@openbsd.org>2015-07-21 03:38:22 +0000
committerreyk <reyk@openbsd.org>2015-07-21 03:38:22 +0000
commitb49812f2365fb374e6fbfdd92c287ef25da8d388 (patch)
treea942a3b38280823a6069635e2f05c31eb309da85 /sys/dev/pv/files.pv
parentRemove duplicate check in libssl. (diff)
downloadwireguard-openbsd-b49812f2365fb374e6fbfdd92c287ef25da8d388.tar.xz
wireguard-openbsd-b49812f2365fb374e6fbfdd92c287ef25da8d388.zip
Add pvbus(4), a pseudo-bus to attach non-PCI paravirtual devices and buses.
vmt(4) is moved from mainbus0 to pvbus0, more devices will follow. OK sf@ deraadt@
Diffstat (limited to 'sys/dev/pv/files.pv')
-rw-r--r--sys/dev/pv/files.pv14
1 files changed, 14 insertions, 0 deletions
diff --git a/sys/dev/pv/files.pv b/sys/dev/pv/files.pv
new file mode 100644
index 00000000000..d0834032390
--- /dev/null
+++ b/sys/dev/pv/files.pv
@@ -0,0 +1,14 @@
+# $OpenBSD: files.pv,v 1.1 2015/07/21 03:38:22 reyk Exp $
+#
+# Config file and device description for paravirtual devices.
+# Included by ports that need it.
+
+define pvbus {}
+device pvbus
+attach pvbus at mainbus
+file dev/pv/pvbus.c pvbus needs-flag
+
+# VMware Tools
+device vmt
+attach vmt at pvbus
+file dev/vmt.c vmt needs-flag