linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / arch / m68k / hp300 / config.c
index 1c05a62..6d129ee 100644 (file)
@@ -7,6 +7,7 @@
  *  called by setup.c.
  */
 
+#include <linux/config.h>
 #include <linux/module.h>
 #include <linux/init.h>
 #include <linux/string.h>
@@ -20,6 +21,7 @@
 #include <asm/hp300hw.h>
 #include <asm/rtc.h>
 
+#include "ints.h"
 #include "time.h"
 
 unsigned long hp300_model;
@@ -62,6 +64,8 @@ static char *hp300_models[] __initdata = {
 static char hp300_model_name[13] = "HP9000/";
 
 extern void hp300_reset(void);
+extern irqreturn_t (*hp300_default_handler[])(int, void *, struct pt_regs *);
+extern int show_hp300_interrupts(struct seq_file *, void *);
 #ifdef CONFIG_SERIAL_8250_CONSOLE
 extern int hp300_setup_serial_console(void) __init;
 #endif
@@ -241,16 +245,16 @@ static unsigned int hp300_get_ss(void)
                hp300_rtc_read(RTC_REG_SEC2);
 }
 
-static void __init hp300_init_IRQ(void)
-{
-}
-
 void __init config_hp300(void)
 {
        mach_sched_init      = hp300_sched_init;
        mach_init_IRQ        = hp300_init_IRQ;
+       mach_request_irq     = hp300_request_irq;
+       mach_free_irq        = hp300_free_irq;
        mach_get_model       = hp300_get_model;
+       mach_get_irq_list    = show_hp300_interrupts;
        mach_gettimeoffset   = hp300_gettimeoffset;
+       mach_default_handler = &hp300_default_handler;
        mach_hwclk           = hp300_hwclk;
        mach_get_ss          = hp300_get_ss;
        mach_reset           = hp300_reset;