From 62d952b9e74b43648549b13661d599ff7f869b4b Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sat, 21 May 2011 10:34:54 +0000 Subject: Introduce a flag to indicate that it is ok to use MSI on a certain PCI bus and/or device. Discussed with miod@ --- sys/dev/pci/pcivar.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys') 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 */ /* * -- cgit v1.2.3