2005-04-17 06:20:36 +08:00
|
|
|
/*
|
|
|
|
* linux/include/asm-arm/arch-l7200/io.h
|
|
|
|
*
|
|
|
|
* Copyright (C) 2000 Steve Hill (sjhill@cotw.com)
|
|
|
|
*
|
|
|
|
* Changelog:
|
|
|
|
* 03-21-2000 SJH Created from linux/include/asm-arm/arch-nexuspci/io.h
|
|
|
|
* 08-31-2000 SJH Added in IO functions necessary for new drivers
|
|
|
|
*/
|
|
|
|
#ifndef __ASM_ARM_ARCH_IO_H
|
|
|
|
#define __ASM_ARM_ARCH_IO_H
|
|
|
|
|
2005-10-28 17:20:25 +08:00
|
|
|
#include <asm/hardware.h>
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
#define IO_SPACE_LIMIT 0xffffffff
|
|
|
|
|
|
|
|
/*
|
|
|
|
* There are not real ISA nor PCI buses, so we fake it.
|
|
|
|
*/
|
2006-11-30 22:39:14 +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
|