diff options
Diffstat (limited to 'arch/arm/mach-iop32x/include/mach/io.h')
-rw-r--r-- | arch/arm/mach-iop32x/include/mach/io.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/arch/arm/mach-iop32x/include/mach/io.h b/arch/arm/mach-iop32x/include/mach/io.h new file mode 100644 index 000000000000..ce54705ba3d4 --- /dev/null +++ b/arch/arm/mach-iop32x/include/mach/io.h | |||
@@ -0,0 +1,27 @@ | |||
1 | /* | ||
2 | * arch/arm/mach-iop32x/include/mach/io.h | ||
3 | * | ||
4 | * Copyright (C) 2001 MontaVista Software, Inc. | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | */ | ||
10 | |||
11 | #ifndef __IO_H | ||
12 | #define __IO_H | ||
13 | |||
14 | #include <mach/hardware.h> | ||
15 | |||
16 | extern void __iomem *__iop3xx_ioremap(unsigned long cookie, size_t size, | ||
17 | unsigned int mtype); | ||
18 | extern void __iop3xx_iounmap(void __iomem *addr); | ||
19 | |||
20 | #define IO_SPACE_LIMIT 0xffffffff | ||
21 | #define __io(p) ((void __iomem *)IOP3XX_PCI_IO_PHYS_TO_VIRT(p)) | ||
22 | #define __mem_pci(a) (a) | ||
23 | |||
24 | #define __arch_ioremap(a, s, f) __iop3xx_ioremap(a, s, f) | ||
25 | #define __arch_iounmap(a) __iop3xx_iounmap(a) | ||
26 | |||
27 | #endif | ||