diff options
-rw-r--r-- | sys/dev/pv/virtioreg.h | 12 |
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 |