]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - arch/sh/boards/renesas/edosk7705/setup.c
Linux-2.6.12-rc2
[mirror_ubuntu-artful-kernel.git] / arch / sh / boards / renesas / edosk7705 / setup.c
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
18 static void init_edosk7705(void);
19
20 /*
21 * The Machine Vector
22 */
23
24 struct 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 };
43 ALIAS_MV(edosk7705)
44
45 static void __init init_edosk7705(void)
46 {
47 /* This is the Ethernet interrupt */
48 make_imask_irq(0x09);
49 }
50
51 const char *get_system_type(void)
52 {
53 return "EDOSK7705";
54 }
55
56 void __init platform_setup(void)
57 {
58 /* Nothing .. */
59 }
60