Merge remote-tracking branch 's5p/for-next'
[linux-2.6/next.git] / arch / arm / mach-iop33x / include / mach / io.h
blob39e893e97c212ba8b67875ee56fcb708189e4460
1 /*
2 * arch/arm/mach-iop33x/include/mach/io.h
4 * Copyright (C) 2001 MontaVista Software, Inc.
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 */
11 #ifndef __IO_H
12 #define __IO_H
14 #include <asm/hardware/iop3xx.h>
16 extern void __iomem *__iop3xx_ioremap(unsigned long cookie, size_t size,
17 unsigned int mtype);
18 extern void __iop3xx_iounmap(void __iomem *addr);
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)
24 #define __arch_ioremap __iop3xx_ioremap
25 #define __arch_iounmap __iop3xx_iounmap
27 #endif