aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/boards/saturn/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/saturn/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/saturn/setup.c')
-rw-r--r--arch/sh/boards/saturn/setup.c43
1 files changed, 43 insertions, 0 deletions
diff --git a/arch/sh/boards/saturn/setup.c b/arch/sh/boards/saturn/setup.c
new file mode 100644
index 000000000000..bea6c572ad82
--- /dev/null
+++ b/arch/sh/boards/saturn/setup.c
@@ -0,0 +1,43 @@
1/*
2 * arch/sh/boards/saturn/setup.c
3 *
4 * Hardware support for the Sega Saturn.
5 *
6 * Copyright (c) 2002 Paul Mundt
7 *
8 * Released under the terms of the GNU GPL v2.0.
9 */
10#include <linux/kernel.h>
11#include <linux/init.h>
12
13#include <asm/io.h>
14#include <asm/machvec.h>
15#include <asm/mach/io.h>
16
17extern int saturn_irq_demux(int irq_nr);
18
19const char *get_system_type(void)
20{
21 return "Sega Saturn";
22}
23
24/*
25 * The Machine Vector
26 */
27struct sh_machine_vector mv_saturn __initmv = {
28 .mv_nr_irqs = 80, /* Fix this later */
29
30 .mv_isa_port2addr = saturn_isa_port2addr,
31 .mv_irq_demux = saturn_irq_demux,
32
33 .mv_ioremap = saturn_ioremap,
34 .mv_iounmap = saturn_iounmap,
35};
36
37ALIAS_MV(saturn)
38
39int __init platform_setup(void)
40{
41 return 0;
42}
43