summaryrefslogtreecommitdiff
path: root/sys/dev/pv/files.pv
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2015-07-21 03:38:23 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2015-07-21 03:38:23 +0000
commit4a91a079b71fb7a08b82195adc2a318e8f40b281 (patch)
tree5ccdb93a6b111561a3ab310108980e2961241325 /sys/dev/pv/files.pv
parent9a2c07687402a907387ffdfd0a83a9993b76ffbc (diff)
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