summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2009-10-06 21:35:44 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2009-10-06 21:35:44 +0000
commit5303577d2d0bbc6e03a58ba2fd3b1014144fe9bb (patch)
tree499f307d38fc4a0f8e2e802381414137738ba872 /sys/arch/i386
parent97550e178734cbfb577fa6b89efc04968a4f9c3b (diff)
Allow MD limits for allocating PCI io and mem space and specify limits on
i386 and amd64 to make avoid legacy ISA I/O registers. Fixes issues with ThinkPad T-series Dock II units as reported by sobrado@ ok miod@
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/pci/pci_machdep.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/arch/i386/pci/pci_machdep.h b/sys/arch/i386/pci/pci_machdep.h
index 543ff59c440..b49e21b56a7 100644
--- a/sys/arch/i386/pci/pci_machdep.h
+++ b/sys/arch/i386/pci/pci_machdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pci_machdep.h,v 1.17 2009/08/22 02:54:50 mk Exp $ */
+/* $OpenBSD: pci_machdep.h,v 1.18 2009/10/06 21:35:43 kettenis Exp $ */
/* $NetBSD: pci_machdep.h,v 1.7 1997/06/06 23:29:18 thorpej Exp $ */
/*
@@ -108,3 +108,10 @@ void pci_decompose_tag(pci_chipset_tag_t, pcitag_t,
* controller on a PC.
*/
#define I386_PCI_INTERRUPT_LINE_NO_CONNECTION 0xff
+
+/*
+ * PCI address space is shared with ISA, so avoid legacy ISA I/O
+ * registers.
+ */
+#define PCI_IO_START 0x400
+#define PCI_IO_END 0xffff