summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2011-05-21 10:34:54 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2011-05-21 10:34:54 +0000
commit62d952b9e74b43648549b13661d599ff7f869b4b (patch)
tree1b4dc420b34163fab08caec188de626d336b26a5
parented2c56bb5333296b6810add22fb6e6b451f6a45b (diff)
Introduce a flag to indicate that it is ok to use MSI on a certain PCI bus
and/or device. Discussed with miod@
-rw-r--r--sys/dev/pci/pcivar.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/pci/pcivar.h b/sys/dev/pci/pcivar.h
index 4b31992edc7..395b6384b21 100644
--- a/sys/dev/pci/pcivar.h
+++ b/sys/dev/pci/pcivar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pcivar.h,v 1.64 2011/05/14 13:23:38 kettenis Exp $ */
+/* $OpenBSD: pcivar.h,v 1.65 2011/05/21 10:34:53 kettenis Exp $ */
/* $NetBSD: pcivar.h,v 1.23 1997/06/06 23:48:05 thorpej Exp $ */
/*
@@ -164,6 +164,8 @@ struct pci_attach_args {
#define PCI_FLAGS_MRM_OKAY 0x08 /* Memory Read Multiple okay */
#define PCI_FLAGS_MWI_OKAY 0x10 /* Memory Write and Invalidate
okay */
+#define PCI_FLAGS_MSI_ENABLED 0x20 /* Message Signaled Interrupt
+ enabled */
/*
*