2 * Copyright (C) 2003 Artec Design Ltd.
3 * Copyright (C) 2012, Florian Fainelli <florian@openwrt.org>
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
11 #ifndef __ASM_ARM_ARCH_IO_H
12 #define __ASM_ARM_ARCH_IO_H
14 #define IO_SPACE_LIMIT 0xffffffff
17 * We don't support ins[lb]/outs[lb]. Make them fault.
19 #define __raw_readsb(p, d, l) do { *(int *)0 = 0; } while (0)
20 #define __raw_readsl(p, d, l) do { *(int *)0 = 0; } while (0)
21 #define __raw_writesb(p, d, l) do { *(int *)0 = 0; } while (0)
22 #define __raw_writesl(p, d, l) do { *(int *)0 = 0; } while (0)
24 #define __io(a) __typesafe_io(a)
25 #define __mem_pci(a) (a)