diff options
Diffstat (limited to 'arch/sh/boards/saturn/setup.c')
-rw-r--r-- | arch/sh/boards/saturn/setup.c | 43 |
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 | |||
17 | extern int saturn_irq_demux(int irq_nr); | ||
18 | |||
19 | const char *get_system_type(void) | ||
20 | { | ||
21 | return "Sega Saturn"; | ||
22 | } | ||
23 | |||
24 | /* | ||
25 | * The Machine Vector | ||
26 | */ | ||
27 | struct 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 | |||
37 | ALIAS_MV(saturn) | ||
38 | |||
39 | int __init platform_setup(void) | ||
40 | { | ||
41 | return 0; | ||
42 | } | ||
43 | |||