summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2009-05-28 15:41:49 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2009-05-28 15:41:49 +0000
commit00dccf51359dff0134d7c64a967463d706952e90 (patch)
treeee9aa3821a08b7cbd21cb2ebb2ac71050351b035 /sys/dev/pci
parente3be18c92d83ac71828d25f15f43613eab1227ca (diff)
Add "Interrupt Disable" bit definition for the PCI Configuration Space
Command register. From PCI Express Base Specification Rev 2.0. Use same naming as NetBSD. Needed for wpi(4) and iwn(4).
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/pcireg.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/pcireg.h b/sys/dev/pci/pcireg.h
index 8c604fea5ed..30b7b812f4e 100644
--- a/sys/dev/pci/pcireg.h
+++ b/sys/dev/pci/pcireg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pcireg.h,v 1.35 2008/11/25 18:49:49 damien Exp $ */
+/* $OpenBSD: pcireg.h,v 1.36 2009/05/28 15:41:48 damien Exp $ */
/* $NetBSD: pcireg.h,v 1.26 2000/05/10 16:58:42 thorpej Exp $ */
/*
@@ -77,6 +77,7 @@ typedef u_int16_t pci_product_id_t;
#define PCI_COMMAND_STEPPING_ENABLE 0x00000080
#define PCI_COMMAND_SERR_ENABLE 0x00000100
#define PCI_COMMAND_BACKTOBACK_ENABLE 0x00000200
+#define PCI_COMMAND_INTERRUPT_DISABLE 0x00000400
#define PCI_STATUS_CAPLIST_SUPPORT 0x00100000
#define PCI_STATUS_66MHZ_SUPPORT 0x00200000