diff options
Diffstat (limited to 'sys/arch/mvme88k/dev')
-rw-r--r-- | sys/arch/mvme88k/dev/if_le.c | 5 | ||||
-rw-r--r-- | sys/arch/mvme88k/dev/sram.c | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/sys/arch/mvme88k/dev/if_le.c b/sys/arch/mvme88k/dev/if_le.c index 0c99c44bd51..e23e69cbd3d 100644 --- a/sys/arch/mvme88k/dev/if_le.c +++ b/sys/arch/mvme88k/dev/if_le.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_le.c,v 1.13 2006/04/26 21:06:08 miod Exp $ */ +/* $OpenBSD: if_le.c,v 1.14 2006/04/26 21:09:48 miod Exp $ */ /*- * Copyright (c) 1982, 1992, 1993 @@ -288,7 +288,8 @@ leattach(parent, self, aux) } paddr = VLEMEMBASE - (card * VLEMEMSIZE); - if (bus_space_map(iot, paddr, VLEMEMSIZE, 0, &memh) != 0) { + if (bus_space_map(iot, paddr, VLEMEMSIZE, BUS_SPACE_MAP_LINEAR, + &memh) != 0) { printf(": can't map buffers!\n"); bus_space_unmap(iot, ioh, PAGE_SIZE); return; diff --git a/sys/arch/mvme88k/dev/sram.c b/sys/arch/mvme88k/dev/sram.c index abb15eb3170..bc6ea49e4f1 100644 --- a/sys/arch/mvme88k/dev/sram.c +++ b/sys/arch/mvme88k/dev/sram.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sram.c,v 1.17 2004/04/24 19:51:48 miod Exp $ */ +/* $OpenBSD: sram.c,v 1.18 2006/04/26 21:09:48 miod Exp $ */ /* * Copyright (c) 1995 Theo de Raadt @@ -85,7 +85,8 @@ sramattach(parent, self, args) sc->sc_base = ca->ca_paddr; sc->sc_len = 128 * 1024; /* always 128K */ - if (bus_space_map(sc->sc_iot, sc->sc_base, sc->sc_len, 0, &ioh) != 0) { + if (bus_space_map(sc->sc_iot, sc->sc_base, sc->sc_len, + BUS_SPACE_MAP_LINEAR, &ioh) != 0) { printf(": can't map memory!\n"); return; } |