summaryrefslogtreecommitdiff
path: root/sys/dev/pv
diff options
context:
space:
mode:
authorStefan Fritsch <sf@cvs.openbsd.org>2019-01-10 18:22:18 +0000
committerStefan Fritsch <sf@cvs.openbsd.org>2019-01-10 18:22:18 +0000
commitfbba2d9efec3e4de1a30abe508e4ac3417a9a633 (patch)
treef8c4ebd97a05338f455639373ed45fbecb222079 /sys/dev/pv
parentea1860100232ec52094cfb42caf494ef52bb6093 (diff)
Fix previous
It accidentally contained a part of a different diff.
Diffstat (limited to 'sys/dev/pv')
-rw-r--r--sys/dev/pv/virtioreg.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/pv/virtioreg.h b/sys/dev/pv/virtioreg.h
index 1eb215419f6..2cc4af2b32d 100644
--- a/sys/dev/pv/virtioreg.h
+++ b/sys/dev/pv/virtioreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: virtioreg.h,v 1.2 2019/01/10 18:11:42 sf Exp $ */
+/* $OpenBSD: virtioreg.h,v 1.3 2019/01/10 18:22:17 sf Exp $ */
/* $NetBSD: virtioreg.h,v 1.1 2011/10/30 12:12:21 hannken Exp $ */
/*
@@ -83,11 +83,11 @@
#define PCI_PRODUCT_VIRTIO_VMMCI 65535 /* private id */
/* device-independent feature bits */
-#define VIRTIO_F_NOTIFY_ON_EMPTY 24
-#define VIRTIO_F_RING_INDIRECT_DESC 28
-#define VIRTIO_F_RING_EVENT_IDX 29
-#define VIRTIO_F_BAD_FEATURE 30
-#define VIRTIO_F_VERSION_1 32
+#define VIRTIO_F_NOTIFY_ON_EMPTY (1<<24)
+#define VIRTIO_F_RING_INDIRECT_DESC (1<<28)
+#define VIRTIO_F_RING_EVENT_IDX (1<<29)
+#define VIRTIO_F_BAD_FEATURE (1<<30)
+#define VIRTIO_F_VERSION_1 (1<<32)
/* device status bits */
#define VIRTIO_CONFIG_DEVICE_STATUS_RESET 0