From e4232757b30346a182214fb65da8a76f2edb7b24 Mon Sep 17 00:00:00 2001 From: Niklas Hallqvist Date: Tue, 20 Jan 1998 18:40:37 +0000 Subject: Merge bus_dma support from NetBSD, mostly by Jason Thorpe. Only i386 uses it so far, the other archs gets placeholders for now. I wrote a compatibility layer for OpenBSD's old isadma code so we can still use our old driver sources. They will however get changed to native bus_dma use, on a case by case basis. Oh yes, I almost forgot, I kept our notion of isadma being a device so DMA-less ISA-busses still work --- sys/arch/alpha/include/bus.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sys/arch/alpha') diff --git a/sys/arch/alpha/include/bus.h b/sys/arch/alpha/include/bus.h index a3ead3a2bf5..27f67558de3 100644 --- a/sys/arch/alpha/include/bus.h +++ b/sys/arch/alpha/include/bus.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bus.h,v 1.9 1997/06/05 23:21:30 deraadt Exp $ */ +/* $OpenBSD: bus.h,v 1.10 1998/01/20 18:40:09 niklas Exp $ */ /* $NetBSD: bus.h,v 1.10 1996/12/02 22:19:32 cgd Exp $ */ /* @@ -380,4 +380,8 @@ struct alpha_bus_space { #define bus_space_copy_8(t, h1, o1, h2, o2, c) \ __abs_copy(8, t, h1, o1, h2, o2, c) +/* XXX placeholders */ +typedef void *bus_dma_tag_t; +typedef void *bus_dmamap_t; + #endif /* _ALPHA_BUS_H_ */ -- cgit v1.2.3