| * include/asm-arm/arch-iop32x/io.h |
| * Copyright (C) 2001 MontaVista Software, Inc. |
| * This program is free software; you can redistribute it and/or modify |
| * it under the terms of the GNU General Public License version 2 as |
| * published by the Free Software Foundation. |
| #include <asm/hardware.h> |
| extern void __iomem *__iop3xx_ioremap(unsigned long cookie, size_t size, |
| extern void __iop3xx_iounmap(void __iomem *addr); |
| #define IO_SPACE_LIMIT 0xffffffff |
| #define __io(p) ((void __iomem *)IOP3XX_PCI_IO_PHYS_TO_VIRT(p)) |
| #define __arch_ioremap(a, s, f) __iop3xx_ioremap(a, s, f) |
| #define __arch_iounmap(a) __iop3xx_iounmap(a) |