summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2015-06-02 15:26:19 +0000
committermpi <mpi@openbsd.org>2015-06-02 15:26:19 +0000
commit3228a449d017a566f5cea9050086fdd7a847b04f (patch)
tree3ae101b527be021f57721f4355838633b92d123c
parentMan page for hpb(4). (diff)
downloadwireguard-openbsd-3228a449d017a566f5cea9050086fdd7a847b04f.tar.xz
wireguard-openbsd-3228a449d017a566f5cea9050086fdd7a847b04f.zip
Add missing define for hpb(4).
-rw-r--r--sys/dev/pci/pcireg.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/pci/pcireg.h b/sys/dev/pci/pcireg.h
index 26c6b799677..3f415bd2650 100644
--- a/sys/dev/pci/pcireg.h
+++ b/sys/dev/pci/pcireg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pcireg.h,v 1.47 2014/04/27 14:55:09 stsp Exp $ */
+/* $OpenBSD: pcireg.h,v 1.48 2015/06/02 15:26:19 mpi Exp $ */
/* $NetBSD: pcireg.h,v 1.26 2000/05/10 16:58:42 thorpej Exp $ */
/*
@@ -534,7 +534,7 @@ typedef u_int8_t pci_revision_t;
#define PCI_HT_CAP_SLAVE 0x00
#define PCI_HT_CAP_HOST 0x04
-#define PCI_HT_CAP_INTERRUPT 0x10
+#define PCI_HT_CAP_INTR 0x10
#define PCI_HT_CAP_MSI 0x15
#define PCI_HT_MSI_ENABLED 0x00010000
@@ -545,6 +545,8 @@ typedef u_int8_t pci_revision_t;
#define PCI_HT_MSI_ADDR 0x04
#define PCI_HT_MSI_ADDR_HI32 0x08
+#define PCI_HT_INTR_DATA 0x04
+
/*
* PCI Express; access via capability pointer.
*/