summaryrefslogtreecommitdiff
path: root/sys/arch/macppc
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2002-10-17 02:47:06 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2002-10-17 02:47:06 +0000
commitcf83f906d4dfef7dadb2e6c3c5095330da4ab626 (patch)
treeafad624bf3eb87f2f2f6602fcc1b6d6e1afa1ce7 /sys/arch/macppc
parenta8af29dd1c365501a4d1d75246533064e49191da (diff)
Correct io space config after last patch. allows fxp to work
(with pending fxp BE diffs)
Diffstat (limited to 'sys/arch/macppc')
-rw-r--r--sys/arch/macppc/pci/pci_addr_fixup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/macppc/pci/pci_addr_fixup.c b/sys/arch/macppc/pci/pci_addr_fixup.c
index 9ac4a74fe3d..799fef14140 100644
--- a/sys/arch/macppc/pci/pci_addr_fixup.c
+++ b/sys/arch/macppc/pci/pci_addr_fixup.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pci_addr_fixup.c,v 1.5 2002/10/07 05:39:48 drahn Exp $ */
+/* $OpenBSD: pci_addr_fixup.c,v 1.6 2002/10/17 02:47:05 drahn Exp $ */
/* $NetBSD: pci_addr_fixup.c,v 1.7 2000/08/03 20:10:45 nathanw Exp $ */
/*-
@@ -276,7 +276,7 @@ pciaddr_do_resource_allocate(sc, pc, tag, mapreg, ex, type, addr, size)
return (0);
start = (type == PCI_MAPREG_TYPE_MEM ? sc->sc_membus_space.bus_base
- : sc->sc_iobus_space.bus_base);
+ : PCIADDR_PORT_START);
if (start < ex->ex_start || start + size - 1 >= ex->ex_end) {
PCIBIOS_PRINTV(("No available resources. fixup failed\n"));
return (1);