summaryrefslogtreecommitdiff
path: root/sys/arch/i386/pci/pcibiosvar.h
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2001-01-25 01:01:00 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2001-01-25 01:01:00 +0000
commit4ef5a0641f6a059d922166341e8d5d8ab46bff4e (patch)
treec1bba1343834b0edd07dea0f6753b16b6c623838 /sys/arch/i386/pci/pcibiosvar.h
parentb5910f2af79d7fce8c4284d36ba89e1a88363890 (diff)
make code for searching in pcibios's addr allocation
extents common for both io and mem and private to pcibios.
Diffstat (limited to 'sys/arch/i386/pci/pcibiosvar.h')
-rw-r--r--sys/arch/i386/pci/pcibiosvar.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/i386/pci/pcibiosvar.h b/sys/arch/i386/pci/pcibiosvar.h
index 85244dbd4de..9764ea2232e 100644
--- a/sys/arch/i386/pci/pcibiosvar.h
+++ b/sys/arch/i386/pci/pcibiosvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pcibiosvar.h,v 1.4 2001/01/25 00:07:40 mickey Exp $ */
+/* $OpenBSD: pcibiosvar.h,v 1.5 2001/01/25 01:00:59 mickey Exp $ */
/* $NetBSD: pcibios.h,v 1.2 2000/04/28 17:15:16 uch Exp $ */
/*
@@ -149,6 +149,10 @@ extern int pcibiosverbose;
#define PCIBIOS_PRINTVN(n, arg)
#endif
+#define PCIADDR_SEARCH_IO 0
+#define PCIADDR_SEARCH_MEM 1
+struct extent *pciaddr_search __P((int, bus_addr_t *, bus_size_t));
+
int pci_intr_fixup __P((pci_chipset_tag_t, bus_space_tag_t, u_int16_t *));
int pci_bus_fixup __P((pci_chipset_tag_t, int));
void pci_addr_fixup __P((pci_chipset_tag_t, int));