diff options
-rw-r--r-- | sys/arch/arc/dev/dma.c | 10 | ||||
-rw-r--r-- | sys/arch/arc/isa/isabus.c | 4 |
2 files changed, 8 insertions, 6 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. */ diff --git a/sys/arch/arc/isa/isabus.c b/sys/arch/arc/isa/isabus.c index 9935f1438fc..fbc8ea90884 100644 --- a/sys/arch/arc/isa/isabus.c +++ b/sys/arch/arc/isa/isabus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: isabus.c,v 1.13 1998/01/29 14:54:54 pefo Exp $ */ +/* $OpenBSD: isabus.c,v 1.14 1998/03/01 16:50:30 niklas Exp $ */ /* $NetBSD: isa.c,v 1.33 1995/06/28 04:30:51 cgd Exp $ */ /*- @@ -140,7 +140,7 @@ void isabr_intr_disestablish __P((isa_chipset_tag_t, void*)); int isabr_iointr __P((unsigned int, struct clockframe *)); void isabr_initicu __P((void)); void intr_calculatemasks __P((void)); - +int fakeintr __P((void *)); int isabrmatch(parent, cfdata, aux) |