diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-11-05 02:41:03 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-11-05 02:41:03 +0000 |
commit | 4791b06638558fc6912990b601d13fe2bd4fc4d5 (patch) | |
tree | e855d8583b418677b21c424fe0ebb684e0db4e84 /sys/arch/alpha/pci | |
parent | 66b6f056afa073b7f8c10d4803073cb4588a1931 (diff) |
irongate needs isadma bouncing.
Diffstat (limited to 'sys/arch/alpha/pci')
-rw-r--r-- | sys/arch/alpha/pci/irongate_dma.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/arch/alpha/pci/irongate_dma.c b/sys/arch/alpha/pci/irongate_dma.c index 17e286299e3..fc0c99e1900 100644 --- a/sys/arch/alpha/pci/irongate_dma.c +++ b/sys/arch/alpha/pci/irongate_dma.c @@ -1,4 +1,4 @@ -/* $OpenBSD: irongate_dma.c,v 1.2 2001/04/17 14:53:33 art Exp $ */ +/* $OpenBSD: irongate_dma.c,v 1.3 2001/11/05 02:41:02 art Exp $ */ /* $NetBSD: irongate_dma.c,v 1.3 2000/06/29 08:58:47 mrg Exp $ */ /*- @@ -76,6 +76,8 @@ #include <dev/isa/isareg.h> #include <dev/isa/isavar.h> +#include "isadma.h" + bus_dma_tag_t irongate_dma_get_tag(bus_dma_tag_t, alpha_bus_t); void @@ -109,7 +111,7 @@ irongate_dma_init(struct irongate_config *icp) t->_dmamem_unmap = _bus_dmamem_unmap; t->_dmamem_mmap = _bus_dmamem_mmap; -#if 0 +#if NISADMA > 0 /* * Initialize the DMA tag used for ISA DMA. */ @@ -136,6 +138,7 @@ irongate_dma_init(struct irongate_config *icp) t->_dmamem_unmap = _bus_dmamem_unmap; t->_dmamem_mmap = _bus_dmamem_mmap; #endif + /* XXX XXX BEGIN XXX XXX */ { /* XXX */ extern paddr_t alpha_XXX_dmamap_or; /* XXX */ |