summaryrefslogtreecommitdiff
path: root/sys/arch/arc/dev
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1998-03-01 16:50:31 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1998-03-01 16:50:31 +0000
commit2869b7f94df91ba16aa57d4672734800ae82b74b (patch)
tree7ff741541107738a07cd5b90d67788babecf1eaa /sys/arch/arc/dev
parent183f91f9b484cd2093badeac2ebaa303500902d6 (diff)
-Wmissing-prototypes clean
Diffstat (limited to 'sys/arch/arc/dev')
-rw-r--r--sys/arch/arc/dev/dma.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/arch/arc/dev/dma.c b/sys/arch/arc/dev/dma.c
index bb6170dd537..c61a8039a14 100644
--- a/sys/arch/arc/dev/dma.c
+++ b/sys/arch/arc/dev/dma.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dma.c,v 1.4 1997/04/19 17:19:51 pefo Exp $ */
+/* $OpenBSD: dma.c,v 1.5 1998/03/01 16:49:57 niklas Exp $ */
/*
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
@@ -32,7 +32,7 @@
* SUCH DAMAGE.
*
* from: @(#)rz.c 8.1 (Berkeley) 7/29/93
- * $Id: dma.c,v 1.4 1997/04/19 17:19:51 pefo Exp $
+ * $Id: dma.c,v 1.5 1998/03/01 16:49:57 niklas Exp $
*/
/*
@@ -63,15 +63,17 @@
#include <arc/pica/pica.h>
#include <arc/dev/dma.h>
-
extern vm_map_t phys_map;
#define dma_pte_to_pa(x) (((x) - first_dma_pte) * R4030_DMA_PAGE_SIZE)
+void picaDmaReset __P((dma_softc_t *));
+int picaDmaEnd __P((dma_softc_t *));
+void picaDmaNull __P((dma_softc_t *));
+
dma_pte_t *free_dma_pte; /* Pointer to free dma pte list */
dma_pte_t *first_dma_pte; /* Pointer to first dma pte */
-
/*
* Initialize the dma mapping register area and pool.
*/