summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2016-08-26 00:45:51 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2016-08-26 00:45:51 +0000
commit408fdee2e4a0946bfe35b3e1004533adf859795b (patch)
treeeb2a565d2ccdfd8e4319ec1759c28d4ce51690b3 /sys/dev
parent5e46d6800155758067d9659d4f47eeb8fc7ff600 (diff)
correct INTR_MSG_MASK to include INTR_MSG_1
ok dlg@
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/vmwpvs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/vmwpvs.c b/sys/dev/pci/vmwpvs.c
index c019062e549..5483f12c514 100644
--- a/sys/dev/pci/vmwpvs.c
+++ b/sys/dev/pci/vmwpvs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmwpvs.c,v 1.13 2015/09/10 18:10:34 deraadt Exp $ */
+/* $OpenBSD: vmwpvs.c,v 1.14 2016/08/26 00:45:50 jsg Exp $ */
/*
* Copyright (c) 2013 David Gwynne <dlg@openbsd.org>
@@ -62,7 +62,7 @@
#define VMWPVS_INTR_CMPL_MASK (VMWPVS_INTR_CMPL_0 | VMWPVS_INTR_CMPL_1)
#define VMWPVS_INTR_MSG_0 (1 << 2)
#define VMWPVS_INTR_MSG_1 (1 << 3)
-#define VMWPVS_INTR_MSG_MASK (VMWPVS_INTR_MSG_0 | VMWPVS_INTR_MSG_0)
+#define VMWPVS_INTR_MSG_MASK (VMWPVS_INTR_MSG_0 | VMWPVS_INTR_MSG_1)
#define VMWPVS_INTR_ALL_MASK (VMWPVS_INTR_CMPL_MASK | VMWPVS_INTR_MSG_MASK)
#define VMWPVS_PAGE_SHIFT 12