From 0f0681deb68ad70793cc014a0ed3a0c582a1f5b2 Mon Sep 17 00:00:00 2001 From: Jason Wright Date: Fri, 14 Dec 2001 14:53:49 +0000 Subject: pass zero as type for bus_space_map2 (the current argument isn't used by the upper layer anyway). --- sys/arch/sparc64/dev/ebus.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sys/arch/sparc64/dev') 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); -- cgit v1.2.3