2 * arch/arm/kernel/dma-vnc.c
4 * Copyright (C) 1998 Russell King
6 #include <linux/sched.h>
7 #include <linux/malloc.h>
8 #include <linux/mman.h>
9 #include <linux/init.h>
12 #include <asm/pgtable.h>
15 #include <asm/hardware.h>
20 int arch_request_dma(dmach_t channel
, dma_t
*dma
, const char *dev_name
)
23 return isa_request_dma(channel
, dma
, dev_name
);
27 void arch_free_dma(dmach_t channel
, dma_t
*dma
)
29 isa_free_dma(channel
, dma
);
32 int arch_get_dma_residue(dmach_t channel
, dma_t
*dma
)
34 return isa_get_dma_residue(channel
, dma
);
37 void arch_enable_dma(dmach_t channel
, dma_t
*dma
)
39 isa_enable_dma(channel
, dma
);
42 void arch_disable_dma(dmach_t channel
, dma_t
*dma
)
44 isa_disable_dma(channel
, dma
);
47 __initfunc(void arch_dma_init(dma_t
*dma
))