diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
commit | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch) | |
tree | 0bba044c4ce775e45a88a51686b5d9f90697ea9d /arch/sh/boards/se/73180/setup.c |
Linux-2.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/se/73180/setup.c')
-rw-r--r-- | arch/sh/boards/se/73180/setup.c | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/arch/sh/boards/se/73180/setup.c b/arch/sh/boards/se/73180/setup.c new file mode 100644 index 00000000000..07fa90c38a0 --- /dev/null +++ b/arch/sh/boards/se/73180/setup.c | |||
@@ -0,0 +1,68 @@ | |||
1 | /* | ||
2 | * arch/sh/boards/se/73180/setup.c | ||
3 | * | ||
4 | * Copyright (C) 2003 Takashi Kusuda <kusuda-takashi@hitachi-ul.co.jp> | ||
5 | * Based on arch/sh/setup_shmse.c | ||
6 | * | ||
7 | * Modified for 73180 SolutionEngine | ||
8 | * by YOSHII Takashi <yoshii-takashi@hitachi-ul.co.jp> | ||
9 | * | ||
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/mach/io.h> | ||
17 | |||
18 | void heartbeat_73180se(void); | ||
19 | void init_73180se_IRQ(void); | ||
20 | |||
21 | const char * | ||
22 | get_system_type(void) | ||
23 | { | ||
24 | return "SolutionEngine 73180"; | ||
25 | } | ||
26 | |||
27 | /* | ||
28 | * The Machine Vector | ||
29 | */ | ||
30 | |||
31 | struct sh_machine_vector mv_73180se __initmv = { | ||
32 | .mv_nr_irqs = 108, | ||
33 | .mv_inb = sh73180se_inb, | ||
34 | .mv_inw = sh73180se_inw, | ||
35 | .mv_inl = sh73180se_inl, | ||
36 | .mv_outb = sh73180se_outb, | ||
37 | .mv_outw = sh73180se_outw, | ||
38 | .mv_outl = sh73180se_outl, | ||
39 | |||
40 | .mv_inb_p = sh73180se_inb_p, | ||
41 | .mv_inw_p = sh73180se_inw, | ||
42 | .mv_inl_p = sh73180se_inl, | ||
43 | .mv_outb_p = sh73180se_outb_p, | ||
44 | .mv_outw_p = sh73180se_outw, | ||
45 | .mv_outl_p = sh73180se_outl, | ||
46 | |||
47 | .mv_insb = sh73180se_insb, | ||
48 | .mv_insw = sh73180se_insw, | ||
49 | .mv_insl = sh73180se_insl, | ||
50 | .mv_outsb = sh73180se_outsb, | ||
51 | .mv_outsw = sh73180se_outsw, | ||
52 | .mv_outsl = sh73180se_outsl, | ||
53 | |||
54 | .mv_init_irq = init_73180se_IRQ, | ||
55 | #ifdef CONFIG_HEARTBEAT | ||
56 | .mv_heartbeat = heartbeat_73180se, | ||
57 | #endif | ||
58 | }; | ||
59 | |||
60 | ALIAS_MV(73180se) | ||
61 | /* | ||
62 | * Initialize the board | ||
63 | */ | ||
64 | void __init | ||
65 | platform_setup(void) | ||
66 | { | ||
67 | |||
68 | } | ||