From 20b57726acf01366e47a793e662e001c4ec1caf3 Mon Sep 17 00:00:00 2001 From: Niklas Hallqvist Date: Mon, 10 Jun 2002 22:27:34 +0000 Subject: old bouncebuffering api not used anymore --- sys/dev/isa/isadmavar.h | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) (limited to 'sys/dev') diff --git a/sys/dev/isa/isadmavar.h b/sys/dev/isa/isadmavar.h index 69b6ec4093a..a2a0093a5e9 100644 --- a/sys/dev/isa/isadmavar.h +++ b/sys/dev/isa/isadmavar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: isadmavar.h,v 1.13 2002/03/14 01:26:56 millert Exp $ */ +/* $OpenBSD: isadmavar.h,v 1.14 2002/06/10 22:27:33 niklas Exp $ */ /* $NetBSD: isadmavar.h,v 1.10 1997/08/04 22:13:33 augustss Exp $ */ /*- @@ -48,23 +48,6 @@ /* XXX ugly.. but it's a deprecated API that uses it so it will go.. */ extern struct device *isa_dev; -#define ISADMA_MAP_WAITOK 0x0001 /* OK for isadma_map to sleep */ -#define ISADMA_MAP_BOUNCE 0x0002 /* use bounce buffer if necessary */ -#define ISADMA_MAP_CONTIG 0x0004 /* must be physically contiguous */ -#define ISADMA_MAP_8BIT 0x0008 /* must not cross 64k boundary */ -#define ISADMA_MAP_16BIT 0x0010 /* must not cross 128k boundary */ - -struct isadma_seg { /* a physical contiguous segment */ - vm_offset_t addr; /* address of this segment */ - vm_size_t length; /* length of this segment (bytes) */ - bus_dmamap_t dmam; /* DMA handle for bus_dma routines. */ -}; - -int isadma_map(caddr_t, vm_size_t, struct isadma_seg *, int); -void isadma_unmap(caddr_t, vm_size_t, int, struct isadma_seg *); -void isadma_copytobuf(caddr_t, vm_size_t, int, struct isadma_seg *); -void isadma_copyfrombuf(caddr_t, vm_size_t, int, struct isadma_seg *); - #define isadma_acquire(c) isa_dma_acquire(isa_dev, (c)) #define isadma_release(c) isa_dma_release(isa_dev, (c)) #define isadma_cascade(c) isa_dmacascade(isa_dev, (c)) -- cgit v1.2.3