diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-10-28 15:47:10 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-10-28 15:47:10 +0000 |
commit | 93e6b2c99c69f1e3db28d1f155cb5278cc20f8fb (patch) | |
tree | 5799f24fcb7a671f3fc1889b4f0d7ca11d9eaa55 /sys/arch/pica/dev/dma.h | |
parent | 3f3e6de8c13d35dfb71d464ea3e11f7d889dde73 (diff) |
XXX disable bpf
add support for externally controlled dma
make sonic work
Diffstat (limited to 'sys/arch/pica/dev/dma.h')
-rw-r--r-- | sys/arch/pica/dev/dma.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/pica/dev/dma.h b/sys/arch/pica/dev/dma.h index abe34c1669c..991d3ec8bcb 100644 --- a/sys/arch/pica/dev/dma.h +++ b/sys/arch/pica/dev/dma.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * from: @(#)dma.h 8.1 (Berkeley) 6/10/93 - * $Id: dma.h,v 1.1 1995/10/18 10:39:09 deraadt Exp $ + * $Id: dma.h,v 1.2 1995/10/28 15:47:07 deraadt Exp $ */ /* @@ -127,6 +127,8 @@ typedef struct dma_softc { int *sc_dmalen; /* Pointer to len counter in dev */ void (*reset)(struct dma_softc *); /* Reset routine pointer */ void (*enintr)(struct dma_softc *); /* Int enab routine pointer */ + void (*map)(struct dma_softc *, caddr_t, size_t, int); + /* Map a dma viritual area */ void (*start)(struct dma_softc *, caddr_t, size_t, int); /* Start routine pointer */ int (*isintr)(struct dma_softc *); /* Int check routine pointer */ @@ -141,6 +143,7 @@ typedef struct dma_softc { #define DMA_RESET(r) ((r->reset)(r)) #define DMA_START(a, b, c, d) ((a->start)(a, b, c, d)) +#define DMA_MAP(a, b, c, d) ((a->map)(a, b, c, d)) #define DMA_INTR(r) ((r->intr)(r)) #define DMA_DRAIN(r) #define DMA_END(r) ((r->reset)(r)) |