MOXA linux-2.6.x / linux-2.6.19-uc1 from UC-7110-LX-BOOTLOADER-1.9_VERSION-4.2.tgz
[linux-2.6.19-moxart.git] / include / asm-arm / arch-s3c24a0 / io.h
blobce37e85551e25e5c87f9ef49605a0a1b8632ca47
1 /*
2 * include/asm-arm/arch-s3c24a0/io.h
4 * $Id: io.h,v 1.2 2005/11/28 03:55:11 gerg Exp $
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 #ifndef __ASM_ARM_ARCH_IO_H
22 #define __ASM_ARM_ARCH_IO_H
24 #define IO_SPACE_LIMIT 0xffffffff
27 * We don't actually have real ISA nor PCI buses, but there is so many
28 * drivers out there that might just work if we fake them...
30 #define __io(a) (PCIO_BASE + (a))
31 #define __mem_pci(a) ((unsigned long)(a))
32 #define __mem_isa(a) ((unsigned long)(a))
34 #if 0
36 * Generic virtual read/write
38 #define __arch_getw(a) (*(volatile unsigned short *)(a))
39 #define __arch_putw(v,a) (*(volatile unsigned short *)(a) = (v))
40 #endif
42 #define iomem_valid_addr(iomem,sz) (1)
43 #define iomem_to_phys(iomem) (iomem)
45 #endif /* __ASM_ARM_ARCH_IO_H */