diff options
Diffstat (limited to 'arch/sh/boards/mach-dreamcast/setup.c')
-rw-r--r-- | arch/sh/boards/mach-dreamcast/setup.c | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/arch/sh/boards/mach-dreamcast/setup.c b/arch/sh/boards/mach-dreamcast/setup.c index a4b7402d6176..ad1a4db72e04 100644 --- a/arch/sh/boards/mach-dreamcast/setup.c +++ b/arch/sh/boards/mach-dreamcast/setup.c | |||
@@ -28,25 +28,8 @@ | |||
28 | #include <asm/machvec.h> | 28 | #include <asm/machvec.h> |
29 | #include <mach/sysasic.h> | 29 | #include <mach/sysasic.h> |
30 | 30 | ||
31 | extern struct irq_chip systemasic_int; | ||
32 | extern void aica_time_init(void); | ||
33 | extern int systemasic_irq_demux(int); | ||
34 | |||
35 | static void __init dreamcast_setup(char **cmdline_p) | 31 | static void __init dreamcast_setup(char **cmdline_p) |
36 | { | 32 | { |
37 | int i; | ||
38 | |||
39 | /* Mask all hardware events */ | ||
40 | /* XXX */ | ||
41 | |||
42 | /* Acknowledge any previous events */ | ||
43 | /* XXX */ | ||
44 | |||
45 | /* Assign all virtual IRQs to the System ASIC int. handler */ | ||
46 | for (i = HW_EVENT_IRQ_BASE; i < HW_EVENT_IRQ_MAX; i++) | ||
47 | set_irq_chip_and_handler(i, &systemasic_int, | ||
48 | handle_level_irq); | ||
49 | |||
50 | board_time_init = aica_time_init; | 33 | board_time_init = aica_time_init; |
51 | } | 34 | } |
52 | 35 | ||
@@ -54,4 +37,5 @@ static struct sh_machine_vector mv_dreamcast __initmv = { | |||
54 | .mv_name = "Sega Dreamcast", | 37 | .mv_name = "Sega Dreamcast", |
55 | .mv_setup = dreamcast_setup, | 38 | .mv_setup = dreamcast_setup, |
56 | .mv_irq_demux = systemasic_irq_demux, | 39 | .mv_irq_demux = systemasic_irq_demux, |
40 | .mv_init_irq = systemasic_irq_init, | ||
57 | }; | 41 | }; |