1 /*
2  * linux/include/asm-arm/arch-sa1100/io.h
3  *
4  * Copyright (C) 1997-1999 Russell King
5  *
6  * Modifications:
7  *  06-12-1997	RMK	Created.
8  *  07-04-1999	RMK	Major cleanup
9  */
10 #ifndef __ASM_ARM_ARCH_IO_H
11 #define __ASM_ARM_ARCH_IO_H
12 
13 #define IO_SPACE_LIMIT 0xffffffff
14 
15 /*
16  * We don't actually have real ISA nor PCI buses, but there is so many
17  * drivers out there that might just work if we fake them...
18  */
19 #define __io(a)			(PCIO_BASE + (a))
20 #define __mem_pci(a)		((unsigned long)(a))
21 #define __mem_isa(a)		((unsigned long)(a))
22 
23 /*
24  * Generic virtual read/write
25  */
26 #define __arch_getw(a)		(*(volatile unsigned short *)(a))
27 #define __arch_putw(v,a)	(*(volatile unsigned short *)(a) = (v))
28 
29 #define iomem_valid_addr(iomem,sz)	(1)
30 #define iomem_to_phys(iomem)		(iomem)
31 
32 #endif
33