summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/dev
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2001-12-14 14:53:49 +0000
committerJason Wright <jason@cvs.openbsd.org>2001-12-14 14:53:49 +0000
commit0f0681deb68ad70793cc014a0ed3a0c582a1f5b2 (patch)
treed3953d3a36d4a411788e6ad99db2183536faf3ba /sys/arch/sparc64/dev
parentcc51da86485ed4471d8a193fbba2f5d4917ad96a (diff)
pass zero as type for bus_space_map2 (the current argument isn't used by
the upper layer anyway).
Diffstat (limited to 'sys/arch/sparc64/dev')
-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);