summaryrefslogtreecommitdiffstats
path: root/include/asm-sh/edosk7705.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2006-10-19 17:31:22 +0900
committerPaul Mundt <lethal@linux-sh.org>2006-10-19 17:31:22 +0900
commitc2a560f5334c55da1e8bfa17586cc1d4e7f8ed85 (patch)
tree3949ebfece3f752e78479a3069a4fac76dbe4bbc /include/asm-sh/edosk7705.h
parent1f666587dbf6bc660b23d8dd8abb6c572ce3eae5 (diff)
sh: Add some missing board headers.
Some of these were dropped in the header directory rework, add the few missing ones back in. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include/asm-sh/edosk7705.h')
-rw-r--r--include/asm-sh/edosk7705.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/include/asm-sh/edosk7705.h b/include/asm-sh/edosk7705.h
new file mode 100644
index 00000000000..a1089a65bc3
--- /dev/null
+++ b/include/asm-sh/edosk7705.h
@@ -0,0 +1,30 @@
+/*
+ * include/asm-sh/edosk7705/io.h
+ *
+ * Modified version of io_se.h for the EDOSK7705 specific functions.
+ *
+ * May be copied or modified under the terms of the GNU General Public
+ * License. See linux/COPYING for more information.
+ *
+ * IO functions for an Hitachi EDOSK7705 development board
+ */
+
+#ifndef __ASM_SH_EDOSK7705_IO_H
+#define __ASM_SH_EDOSK7705_IO_H
+
+#include <asm/io_generic.h>
+
+extern unsigned char sh_edosk7705_inb(unsigned long port);
+extern unsigned int sh_edosk7705_inl(unsigned long port);
+
+extern void sh_edosk7705_outb(unsigned char value, unsigned long port);
+extern void sh_edosk7705_outl(unsigned int value, unsigned long port);
+
+extern void sh_edosk7705_insb(unsigned long port, void *addr, unsigned long count);
+extern void sh_edosk7705_insl(unsigned long port, void *addr, unsigned long count);
+extern void sh_edosk7705_outsb(unsigned long port, const void *addr, unsigned long count);
+extern void sh_edosk7705_outsl(unsigned long port, const void *addr, unsigned long count);
+
+extern unsigned long sh_edosk7705_isa_port2addr(unsigned long offset);
+
+#endif /* __ASM_SH_EDOSK7705_IO_H */