summaryrefslogtreecommitdiff
path: root/sys/dev/pci/pcivar.h
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2011-05-14 13:23:39 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2011-05-14 13:23:39 +0000
commit0fcf41737655b60efb019f6fec33236532460222 (patch)
treee8618ffb5aad6d471e774e41c17bbe6cf0e21230 /sys/dev/pci/pcivar.h
parent45f92a2ec6451a60879aef9c95e90060c83d1903 (diff)
Pass flags down the PCI bus hierarchy. Soon to be used to selectively enable
Message Signalled Interrupts. ok krw@ with a fix pointed out by many
Diffstat (limited to 'sys/dev/pci/pcivar.h')
-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 d1b36b41f4b..4b31992edc7 100644
--- a/sys/dev/pci/pcivar.h
+++ b/sys/dev/pci/pcivar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pcivar.h,v 1.63 2010/09/07 16:21:45 deraadt Exp $ */
+/* $OpenBSD: pcivar.h,v 1.64 2011/05/14 13:23:38 kettenis Exp $ */
/* $NetBSD: pcivar.h,v 1.23 1997/06/06 23:48:05 thorpej Exp $ */
/*
@@ -90,6 +90,7 @@ struct pcibus_attach_args {
bus_space_tag_t pba_memt; /* pci mem space tag */
bus_dma_tag_t pba_dmat; /* DMA tag */
pci_chipset_tag_t pba_pc;
+ int pba_flags; /* flags; see below */
struct extent *pba_ioex;
struct extent *pba_memex;
@@ -180,6 +181,7 @@ struct pci_softc {
bus_space_tag_t sc_iot, sc_memt;
bus_dma_tag_t sc_dmat;
pci_chipset_tag_t sc_pc;
+ int sc_flags;
struct extent *sc_ioex;
struct extent *sc_memex;
struct extent *sc_pmemex;