diff options
author | Roman Zippel <zippel@linux-m68k.org> | 2006-06-25 08:47:06 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-25 13:00:58 -0400 |
commit | 200a3d352cd5e0ae8fb96bfcf8103f7b7c60645b (patch) | |
tree | e9db90ac38cbfba0f4a4c541733fc4ebd09c5fd7 /arch/m68k/bvme6000/config.c | |
parent | ebba61d5b05ecfda388dd4c156bafdb78d398055 (diff) |
[PATCH] m68k: convert VME irq code
Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/m68k/bvme6000/config.c')
-rw-r--r-- | arch/m68k/bvme6000/config.c | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/arch/m68k/bvme6000/config.c b/arch/m68k/bvme6000/config.c index c90cb5fcc8ef..d1e916ae55a8 100644 --- a/arch/m68k/bvme6000/config.c +++ b/arch/m68k/bvme6000/config.c | |||
@@ -36,15 +36,8 @@ | |||
36 | #include <asm/machdep.h> | 36 | #include <asm/machdep.h> |
37 | #include <asm/bvme6000hw.h> | 37 | #include <asm/bvme6000hw.h> |
38 | 38 | ||
39 | extern irqreturn_t bvme6000_process_int (int level, struct pt_regs *regs); | ||
40 | extern void bvme6000_init_IRQ (void); | ||
41 | extern void bvme6000_free_irq (unsigned int, void *); | ||
42 | extern int show_bvme6000_interrupts(struct seq_file *, void *); | ||
43 | extern void bvme6000_enable_irq (unsigned int); | ||
44 | extern void bvme6000_disable_irq (unsigned int); | ||
45 | static void bvme6000_get_model(char *model); | 39 | static void bvme6000_get_model(char *model); |
46 | static int bvme6000_get_hardware_list(char *buffer); | 40 | static int bvme6000_get_hardware_list(char *buffer); |
47 | extern int bvme6000_request_irq(unsigned int irq, irqreturn_t (*handler)(int, void *, struct pt_regs *), unsigned long flags, const char *devname, void *dev_id); | ||
48 | extern void bvme6000_sched_init(irqreturn_t (*handler)(int, void *, struct pt_regs *)); | 41 | extern void bvme6000_sched_init(irqreturn_t (*handler)(int, void *, struct pt_regs *)); |
49 | extern unsigned long bvme6000_gettimeoffset (void); | 42 | extern unsigned long bvme6000_gettimeoffset (void); |
50 | extern int bvme6000_hwclk (int, struct rtc_time *); | 43 | extern int bvme6000_hwclk (int, struct rtc_time *); |
@@ -100,6 +93,14 @@ static int bvme6000_get_hardware_list(char *buffer) | |||
100 | return 0; | 93 | return 0; |
101 | } | 94 | } |
102 | 95 | ||
96 | /* | ||
97 | * This function is called during kernel startup to initialize | ||
98 | * the bvme6000 IRQ handling routines. | ||
99 | */ | ||
100 | static void bvme6000_init_IRQ(void) | ||
101 | { | ||
102 | m68k_setup_user_interrupt(VEC_USER, 192, NULL); | ||
103 | } | ||
103 | 104 | ||
104 | void __init config_bvme6000(void) | 105 | void __init config_bvme6000(void) |
105 | { | 106 | { |
@@ -127,12 +128,6 @@ void __init config_bvme6000(void) | |||
127 | mach_hwclk = bvme6000_hwclk; | 128 | mach_hwclk = bvme6000_hwclk; |
128 | mach_set_clock_mmss = bvme6000_set_clock_mmss; | 129 | mach_set_clock_mmss = bvme6000_set_clock_mmss; |
129 | mach_reset = bvme6000_reset; | 130 | mach_reset = bvme6000_reset; |
130 | mach_free_irq = bvme6000_free_irq; | ||
131 | mach_process_int = bvme6000_process_int; | ||
132 | mach_get_irq_list = show_bvme6000_interrupts; | ||
133 | mach_request_irq = bvme6000_request_irq; | ||
134 | enable_irq = bvme6000_enable_irq; | ||
135 | disable_irq = bvme6000_disable_irq; | ||
136 | mach_get_model = bvme6000_get_model; | 131 | mach_get_model = bvme6000_get_model; |
137 | mach_get_hardware_list = bvme6000_get_hardware_list; | 132 | mach_get_hardware_list = bvme6000_get_hardware_list; |
138 | 133 | ||