blob: 9d4fe6cf205b1fb9e272e19091c8a902b59aa8ec [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
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 King7fca0aa2005-10-28 10:20:25 +010013#include <asm/hardware.h>
14
Linus Torvalds1da177e2005-04-16 15:20:36 -070015#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 King674c0452005-10-28 14:25:28 +010021static inline void __iomem *__io(unsigned long addr)
22{
23 return (void __iomem *)addr;
24}
25#define __io(a) __io(a)
Linus Torvalds1da177e2005-04-16 15:20:36 -070026#define __mem_pci(a) (a)
27#define __mem_isa(a) (a)
28
29#endif