diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2009-07-26 18:48:56 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2009-07-26 18:48:56 +0000 |
commit | 7458aafff0569577b463f9c368e66cb25262aa6c (patch) | |
tree | 70cdb126d1cfdb8654412193beda18a7118700fc /sys/arch/hppa/dev | |
parent | 7499c0ea68ce760474e8b4e98e74f2e0f120cc77 (diff) |
Make sure all platforms understand the flags argument of bus_space_map() and
bus_space_alloc() as a bitmask of flags, and not a boolean controlling
cacheability; and make sure the three MI BUS_SPACE_MAP_xxx values documented
in the manual page are defined on all platforms as well.
Diffstat (limited to 'sys/arch/hppa/dev')
-rw-r--r-- | sys/arch/hppa/dev/mongoose.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/hppa/dev/mongoose.c b/sys/arch/hppa/dev/mongoose.c index c7ed85463b3..e20b7d13b84 100644 --- a/sys/arch/hppa/dev/mongoose.c +++ b/sys/arch/hppa/dev/mongoose.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mongoose.c,v 1.17 2004/11/08 20:54:04 miod Exp $ */ +/* $OpenBSD: mongoose.c,v 1.18 2009/07/26 18:48:55 miod Exp $ */ /* * Copyright (c) 1998-2003 Michael Shalayeff @@ -183,7 +183,7 @@ mg_intr(void *v) } int -mg_eisa_iomap(void *v, bus_addr_t addr, bus_size_t size, int cacheable, +mg_eisa_iomap(void *v, bus_addr_t addr, bus_size_t size, int flags, bus_space_handle_t *bshp) { struct mongoose_softc *sc = v; @@ -196,11 +196,11 @@ mg_eisa_iomap(void *v, bus_addr_t addr, bus_size_t size, int cacheable, } return (sc->sc_bt->hbt_map)(NULL, sc->sc_iomap + addr, size, - cacheable, bshp); + flags, bshp); } int -mg_eisa_memmap(void *v, bus_addr_t addr, bus_size_t size, int cacheable, +mg_eisa_memmap(void *v, bus_addr_t addr, bus_size_t size, int flags, bus_space_handle_t *bshp) { /* TODO: eisa memory map */ |