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 | |
Russell King | 7fca0aa | 2005-10-28 10:20:25 +0100 | [diff] [blame] | 13 | #include <asm/hardware.h> |
| 14 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 15 | #define IO_SPACE_LIMIT 0xffffffff |
| 16 | |
| 17 | /* |
| 18 | * We don't actually have real ISA nor PCI buses, but there is so many |
| 19 | * drivers out there that might just work if we fake them... |
| 20 | */ |
Russell King | 674c045 | 2005-10-28 14:25:28 +0100 | [diff] [blame^] | 21 | static inline void __iomem *__io(unsigned long addr) |
| 22 | { |
| 23 | return (void __iomem *)addr; |
| 24 | } |
| 25 | #define __io(a) __io(a) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 26 | #define __mem_pci(a) (a) |
| 27 | #define __mem_isa(a) (a) |
| 28 | |
| 29 | #endif |