2005-04-17 06:20:36 +08:00
|
|
|
/*
|
2008-08-05 23:14:15 +08:00
|
|
|
* arch/arm/mach-sa1100/include/mach/io.h
|
2005-04-17 06:20:36 +08:00
|
|
|
*
|
|
|
|
* Copyright (C) 1997-1999 Russell King
|
|
|
|
*
|
|
|
|
* Modifications:
|
|
|
|
* 06-12-1997 RMK Created.
|
|
|
|
* 07-04-1999 RMK Major cleanup
|
|
|
|
*/
|
|
|
|
#ifndef __ASM_ARM_ARCH_IO_H
|
|
|
|
#define __ASM_ARM_ARCH_IO_H
|
|
|
|
|
|
|
|
#define IO_SPACE_LIMIT 0xffffffff
|
|
|
|
|
|
|
|
/*
|
|
|
|
* We don't actually have real ISA nor PCI buses, but there is so many
|
|
|
|
* drivers out there that might just work if we fake them...
|
|
|
|
*/
|
2005-10-28 21:25:28 +08:00
|
|
|
static inline void __iomem *__io(unsigned long addr)
|
|
|
|
{
|
|
|
|
return (void __iomem *)addr;
|
|
|
|
}
|
|
|
|
#define __io(a) __io(a)
|
2005-04-17 06:20:36 +08:00
|
|
|
#define __mem_pci(a) (a)
|
|
|
|
|
|
|
|
#endif
|