diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2009-10-06 21:35:44 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2009-10-06 21:35:44 +0000 |
commit | 5303577d2d0bbc6e03a58ba2fd3b1014144fe9bb (patch) | |
tree | 499f307d38fc4a0f8e2e802381414137738ba872 /sys/arch/i386 | |
parent | 97550e178734cbfb577fa6b89efc04968a4f9c3b (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.h | 9 |
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 |