Linux-2.6.12-rc2
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / arch / arm / mach-integrator / dma.c
blobaae6f23cd72becd4f1b814336815f5457b67c2d3
1 /*
2 * linux/arch/arm/mach-integrator/dma.c
4 * Copyright (C) 1999 ARM Limited
5 * Copyright (C) 2000 Deep Blue Solutions Ltd
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 #include <linux/slab.h>
22 #include <linux/mman.h>
23 #include <linux/init.h>
25 #include <asm/page.h>
26 #include <asm/pgtable.h>
27 #include <asm/dma.h>
28 #include <asm/io.h>
29 #include <asm/hardware.h>
31 #include <asm/mach/dma.h>
33 void __init arch_dma_init(dma_t *dma)