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.
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.
33 #define iomem_valid_addr(iomem,size) (1)
34 #define iomem_to_phys(iomem) (iomem)