summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/sparc64/dev/ebus.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/sparc64/dev/ebus.c b/sys/arch/sparc64/dev/ebus.c
index 53c9d7a7383..a00e9839518 100644
--- a/sys/arch/sparc64/dev/ebus.c
+++ b/sys/arch/sparc64/dev/ebus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ebus.c,v 1.5 2001/10/07 15:27:12 jason Exp $ */
+/* $OpenBSD: ebus.c,v 1.6 2001/12/14 14:53:48 jason Exp $ */
/* $NetBSD: ebus.c,v 1.24 2001/07/25 03:49:54 eeh Exp $ */
/*
@@ -496,8 +496,7 @@ _ebus_bus_map(t, btype, offset, size, flags, vaddr, hp)
("\n_ebus_bus_map: mapping space %x paddr offset %qx pciaddr %qx\n",
ss, (unsigned long long)offset, (unsigned long long)pciaddr));
/* pass it onto the psycho */
- return (bus_space_map2(t, sc->sc_range[i].phys_hi,
- pciaddr, size, flags, vaddr, hp));
+ return (bus_space_map2(t, 0, pciaddr, size, flags, vaddr, hp));
}
DPRINTF(EDB_BUSMAP, (": FAILED\n"));
return (EINVAL);