import of upstream 2.4.34.4 from kernel.org
[linux-2.4.git] / arch / arm / mm / mm-ftvpci.c
1 /*
2  *  linux/arch/arm/mm/mm-nexuspci.c
3  *   from linux/arch/arm/mm/mm-ebsa110.c
4  *
5  *  Copyright (C) 1998-1999 Phil Blundell
6  *  Copyright (C) 1998-1999 Russell King
7  *
8  *  Extra MM routines for the FTV/PCI architecture
9  */
10 #include <linux/sched.h>
11 #include <linux/mm.h>
12 #include <linux/init.h>
13  
14 #include <asm/pgtable.h>
15 #include <asm/page.h>
16 #include <asm/io.h>
17
18 #include <asm/mach/map.h>
19
20 static struct map_desc nexuspci_io_desc[] __initdata = {
21         { INTCONT_BASE, INTCONT_START,  0x00001000, DOMAIN_IO, 0, 1, 0, 0 },
22         { PLX_BASE,     PLX_START,      0x00001000, DOMAIN_IO, 0, 1, 0, 0 },
23         { PCIO_BASE,    PLX_IO_START,   0x00100000, DOMAIN_IO, 0, 1, 0, 0 },
24         { DUART_BASE,   DUART_START,    0x00001000, DOMAIN_IO, 0, 1, 0, 0 },
25         { STATUS_BASE,  STATUS_START,   0x00001000, DOMAIN_IO, 0, 1, 0, 0 },
26         LAST_DESC
27 };
28
29 void __init nexuspci_map_io(void)
30 {
31         iotable_init(nexuspci_io_desc);
32 }