| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 |  | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 |  */ | 
| Russell King | 674c045 | 2005-10-28 14:25:28 +0100 | [diff] [blame] | 19 | static inline void __iomem *__io(unsigned long addr) | 
 | 20 | { | 
 | 21 | 	return (void __iomem *)addr; | 
 | 22 | } | 
 | 23 | #define __io(a)			__io(a) | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 24 | #define __mem_pci(a)		(a) | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 25 |  | 
 | 26 | #endif |