2 * linux/arch/m68k/hp300/config.c
4 * Copyright (C) 1998 Philip Blundell <philb@gnu.org>
6 * This file contains the HP300-specific initialisation code. It gets
10 #include <linux/config.h>
11 #include <linux/types.h>
14 #include <linux/tty.h>
15 #include <linux/console.h>
16 #include <linux/interrupt.h>
17 #include <linux/init.h>
18 #include <asm/machdep.h>
19 #include <asm/blinken.h>
20 #include <asm/hwtest.h> /* hwreg_present() */
25 extern void hp300_reset(void);
26 extern irqreturn_t (*hp300_default_handler[])(int, void *, struct pt_regs *);
27 extern int show_hp300_interrupts(struct seq_file *, void *);
29 #ifdef CONFIG_HEARTBEAT
30 static void hp300_pulse(int x)
39 static void hp300_get_model(char *model)
41 strcpy(model, "HP9000/300");
44 void __init config_hp300(void)
46 mach_sched_init = hp300_sched_init;
47 mach_init_IRQ = hp300_init_IRQ;
48 mach_request_irq = hp300_request_irq;
49 mach_free_irq = hp300_free_irq;
50 mach_get_model = hp300_get_model;
51 mach_get_irq_list = show_hp300_interrupts;
52 mach_gettimeoffset = hp300_gettimeoffset;
53 mach_default_handler = &hp300_default_handler;
54 mach_reset = hp300_reset;
55 #ifdef CONFIG_HEARTBEAT
56 mach_heartbeat = hp300_pulse;
58 #ifdef CONFIG_DUMMY_CONSOLE
59 conswitchp = &dummy_con;
61 mach_max_dma_address = 0xffffffff;