1 /*
2  * include/asm-sh/io_sh2000.h
3  *
4  * Copyright 2000 Stuart Menefy (stuart.menefy@st.com)
5  *           2001 SUGIOKA Toshinobu (sugioka@itonet.co.jp)
6  *
7  * May be copied or modified under the terms of the GNU General Public
8  * License.  See linux/COPYING for more information.
9  *
10  * IO functions for use when we don't know what machine we are on
11  */
12 
13 #ifndef _ASM_SH_IO_SH2000_H
14 #define _ASM_SH_IO_SH2000_H
15 
16 #include <asm/io_generic.h>
17 
18 unsigned long sh2000_isa_port2addr(unsigned long offset);
19 
20 #ifdef __WANT_IO_DEF
21 
22 # define __inb			generic_inb
23 # define __inw			generic_inw
24 # define __inl			generic_inl
25 # define __outb			generic_outb
26 # define __outw			generic_outw
27 # define __outl			generic_outl
28 
29 # define __inb_p		generic_inb_p
30 # define __inw_p		generic_inw
31 # define __inl_p		generic_inl
32 # define __outb_p		generic_outb_p
33 # define __outw_p		generic_outw
34 # define __outl_p		generic_outl
35 
36 # define __insb			generic_insb
37 # define __insw			generic_insw
38 # define __insl			generic_insl
39 # define __outsb		generic_outsb
40 # define __outsw		generic_outsw
41 # define __outsl		generic_outsl
42 
43 # define __readb		generic_readb
44 # define __readw		generic_readw
45 # define __readl		generic_readl
46 # define __writeb		generic_writeb
47 # define __writew		generic_writew
48 # define __writel		generic_writel
49 
50 # define __isa_port2addr	sh2000_isa_port2addr
51 # define __ioremap		generic_ioremap
52 # define __iounmap		generic_iounmap
53 
54 #endif
55 
56 #endif /* _ASM_SH_IO_SH2000_H */
57