aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/boards/renesas/edosk7705/setup.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
commit1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch)
tree0bba044c4ce775e45a88a51686b5d9f90697ea9d /arch/sh/boards/renesas/edosk7705/setup.c
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
Diffstat (limited to 'arch/sh/boards/renesas/edosk7705/setup.c')
-rw-r--r--arch/sh/boards/renesas/edosk7705/setup.c60
1 files changed, 60 insertions, 0 deletions
diff --git a/arch/sh/boards/renesas/edosk7705/setup.c b/arch/sh/boards/renesas/edosk7705/setup.c
new file mode 100644
index 000000000000..8b6f0c2af092
--- /dev/null
+++ b/arch/sh/boards/renesas/edosk7705/setup.c
@@ -0,0 +1,60 @@
1/*
2 * arch/sh/boards/renesas/edosk7705/setup.c
3 *
4 * Copyright (C) 2000 Kazumoto Kojima
5 *
6 * Hitachi SolutionEngine Support.
7 *
8 * Modified for edosk7705 development
9 * board by S. Dunn, 2003.
10 */
11
12#include <linux/config.h>
13#include <linux/init.h>
14#include <asm/machvec.h>
15#include <asm/machvec_init.h>
16#include <asm/edosk7705/io.h>
17
18static void init_edosk7705(void);
19
20/*
21 * The Machine Vector
22 */
23
24struct sh_machine_vector mv_edosk7705 __initmv = {
25 .mv_nr_irqs = 80,
26
27 .mv_inb = sh_edosk7705_inb,
28 .mv_inl = sh_edosk7705_inl,
29 .mv_outb = sh_edosk7705_outb,
30 .mv_outl = sh_edosk7705_outl,
31
32 .mv_inl_p = sh_edosk7705_inl,
33 .mv_outl_p = sh_edosk7705_outl,
34
35 .mv_insb = sh_edosk7705_insb,
36 .mv_insl = sh_edosk7705_insl,
37 .mv_outsb = sh_edosk7705_outsb,
38 .mv_outsl = sh_edosk7705_outsl,
39
40 .mv_isa_port2addr = sh_edosk7705_isa_port2addr,
41 .mv_init_irq = init_edosk7705,
42};
43ALIAS_MV(edosk7705)
44
45static void __init init_edosk7705(void)
46{
47 /* This is the Ethernet interrupt */
48 make_imask_irq(0x09);
49}
50
51const char *get_system_type(void)
52{
53 return "EDOSK7705";
54}
55
56void __init platform_setup(void)
57{
58 /* Nothing .. */
59}
60