summaryrefslogtreecommitdiff
path: root/sys/arch/gumstix
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-07-26 18:48:56 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-07-26 18:48:56 +0000
commit7458aafff0569577b463f9c368e66cb25262aa6c (patch)
tree70cdb126d1cfdb8654412193beda18a7118700fc /sys/arch/gumstix
parent7499c0ea68ce760474e8b4e98e74f2e0f120cc77 (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/gumstix')
-rw-r--r--sys/arch/gumstix/gumstix/gumstix_machdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/gumstix/gumstix/gumstix_machdep.c b/sys/arch/gumstix/gumstix/gumstix_machdep.c
index 590f93bae9d..a3e278b83df 100644
--- a/sys/arch/gumstix/gumstix/gumstix_machdep.c
+++ b/sys/arch/gumstix/gumstix/gumstix_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gumstix_machdep.c,v 1.1 2008/11/26 14:18:11 drahn Exp $ */
+/* $OpenBSD: gumstix_machdep.c,v 1.2 2009/07/26 18:48:55 miod Exp $ */
/* $NetBSD: lubbock_machdep.c,v 1.2 2003/07/15 00:25:06 lukem Exp $ */
/*
@@ -438,7 +438,7 @@ static vaddr_t section_free = GUMSTIX_VBASE_FREE;
static int
bootstrap_bs_map(void *t, bus_addr_t bpa, bus_size_t size,
- int cacheable, bus_space_handle_t *bshp)
+ int flags, bus_space_handle_t *bshp)
{
u_long startpa;
vaddr_t va;