summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>2002-06-10 22:27:34 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>2002-06-10 22:27:34 +0000
commit20b57726acf01366e47a793e662e001c4ec1caf3 (patch)
treec2f264d25fe4773ff7588187a1d7ec039d4caae2 /sys/dev
parentf89fa4a231402099db1e26ddb2e8ab8746e1bc23 (diff)
old bouncebuffering api not used anymore
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/isa/isadmavar.h19
1 files changed, 1 insertions, 18 deletions
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))