MOXA linux-2.6.x / linux-2.6.19-uc1 from UC-7110-LX-BOOTLOADER-1.9_VERSION-4.2.tgz
[linux-2.6.19-moxart.git] / include / asm-arm / arch-p2001 / io.h
blob390dd76490999418e6ba8e3382159a1ba20eb1d3
1 /*
2 * linux/include/asm-armnommu/arch-p2001/io.h
4 * Copyright (C) 2004 Tobias Lorenz
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 __ASM_ARM_ARCH_IO_H
12 #define __ASM_ARM_ARCH_IO_H
14 #define IO_SPACE_LIMIT 0xffffffff
15 /* Used in kernel/resource.c */
18 #define PCI_IO_VADDR (0x0)
19 #define PCI_MEMORY_VADDR (0x0)
22 * We don't actually have real ISA nor PCI buses, but there is so many
23 * drivers out there that might just work if we fake them...
25 #define __mem_pci(a) (a)
27 #define __io(a) ((unsigned long)(a))
30 * Defining these two gives us ioremap for free. See asm/io.h.
31 * --gmcnutt
33 #define iomem_valid_addr(iomem,size) (1)
34 #define iomem_to_phys(iomem) (iomem)
36 #endif