Merge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzi...
[wrt350n-kernel.git] / include / asm-sh / edosk7705.h
blob5bdc9d9be3de9cacad4a972338157b890f8fb365
1 /*
2 * include/asm-sh/edosk7705.h
4 * Modified version of io_se.h for the EDOSK7705 specific functions.
6 * May be copied or modified under the terms of the GNU General Public
7 * License. See linux/COPYING for more information.
9 * IO functions for an Hitachi EDOSK7705 development board
12 #ifndef __ASM_SH_EDOSK7705_IO_H
13 #define __ASM_SH_EDOSK7705_IO_H
15 #include <asm/io_generic.h>
17 extern unsigned char sh_edosk7705_inb(unsigned long port);
18 extern unsigned int sh_edosk7705_inl(unsigned long port);
20 extern void sh_edosk7705_outb(unsigned char value, unsigned long port);
21 extern void sh_edosk7705_outl(unsigned int value, unsigned long port);
23 extern void sh_edosk7705_insb(unsigned long port, void *addr, unsigned long count);
24 extern void sh_edosk7705_insl(unsigned long port, void *addr, unsigned long count);
25 extern void sh_edosk7705_outsb(unsigned long port, const void *addr, unsigned long count);
26 extern void sh_edosk7705_outsl(unsigned long port, const void *addr, unsigned long count);
28 extern unsigned long sh_edosk7705_isa_port2addr(unsigned long offset);
30 #endif /* __ASM_SH_EDOSK7705_IO_H */