summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--share/man/man9/bus_dma.94
-rw-r--r--sys/arch/mips64/mips64/busdma.c4
-rw-r--r--sys/arch/sgi/include/bus.h3
3 files changed, 5 insertions, 6 deletions
diff --git a/share/man/man9/bus_dma.9 b/share/man/man9/bus_dma.9
index f54e4e68511..2458c912cba 100644
--- a/share/man/man9/bus_dma.9
+++ b/share/man/man9/bus_dma.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: bus_dma.9,v 1.22 2006/03/26 14:47:26 marco Exp $
+.\" $OpenBSD: bus_dma.9,v 1.23 2006/05/27 00:29:55 krw Exp $
.\" $NetBSD: bus_dma.9,v 1.14 2000/06/14 06:49:19 cgd Exp $
.\"
.\" Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -439,7 +439,7 @@ will never block on resources if the handle was created with
.Ft void
.Fn bus_dmamap_sync "bus_dma_tag_t tag" "bus_dmamap_t dmam" \
"bus_addr_t offset" "bus_size_t size" \
- "bus_dmasync_op_t ops"
+ "int ops"
.nr nS 0
.Pp
The
diff --git a/sys/arch/mips64/mips64/busdma.c b/sys/arch/mips64/mips64/busdma.c
index 5405889012e..1c6ddc10060 100644
--- a/sys/arch/mips64/mips64/busdma.c
+++ b/sys/arch/mips64/mips64/busdma.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: busdma.c,v 1.8 2005/11/06 10:26:56 martin Exp $ */
+/* $OpenBSD: busdma.c,v 1.9 2006/05/27 00:29:55 krw Exp $ */
/*
* Copyright (c) 2003-2004 Opsycon AB (www.opsycon.se / www.opsycon.com)
@@ -340,7 +340,7 @@ _dmamap_sync(t, map, addr, size, op)
bus_dmamap_t map;
bus_addr_t addr;
bus_size_t size;
- bus_dmasync_op_t op;
+ int op;
{
#define SYNC_R 0
#define SYNC_W 1
diff --git a/sys/arch/sgi/include/bus.h b/sys/arch/sgi/include/bus.h
index be40dd46561..1d84ced752b 100644
--- a/sys/arch/sgi/include/bus.h
+++ b/sys/arch/sgi/include/bus.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bus.h,v 1.4 2005/01/02 19:33:11 kettenis Exp $ */
+/* $OpenBSD: bus.h,v 1.5 2006/05/27 00:29:55 krw Exp $ */
/*
* Copyright (c) 2003-2004 Opsycon AB Sweden. All rights reserved.
@@ -289,7 +289,6 @@ struct uio;
#define BUS_DMASYNC_POSTWRITE 0x0002
#define BUS_DMASYNC_PREREAD 0x0004
#define BUS_DMASYNC_PREWRITE 0x0008
-typedef int bus_dmasync_op_t;
typedef struct machine_bus_dma_tag *bus_dma_tag_t;
typedef struct machine_bus_dmamap *bus_dmamap_t;