Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | * linux/include/asm-arm/arch-l7200/io.h |
| 3 | * |
| 4 | * Copyright (C) 2000 Steve Hill (sjhill@cotw.com) |
| 5 | * |
| 6 | * Changelog: |
| 7 | * 03-21-2000 SJH Created from linux/include/asm-arm/arch-nexuspci/io.h |
| 8 | * 08-31-2000 SJH Added in IO functions necessary for new drivers |
| 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> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 14 | |
| 15 | #define IO_SPACE_LIMIT 0xffffffff |
| 16 | |
| 17 | /* |
| 18 | * There are not real ISA nor PCI buses, so we fake it. |
| 19 | */ |
Russell King | 9b531ce | 2006-11-30 14:39:14 +0000 | [diff] [blame] | 20 | static inline void __iomem *__io(unsigned long addr) |
| 21 | { |
| 22 | return (void __iomem *)addr; |
| 23 | } |
| 24 | #define __io(a) __io(a) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 25 | #define __mem_pci(a) (a) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 26 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 27 | #endif |