Merge with Linux 2.5.74.
[linux-2.6/linux-mips.git] / arch / sh / boards / se / 770x / mach.c
blob3f46156173b9c2e1136e37a46009b82248a11b70
1 /*
2 * linux/arch/sh/kernel/mach_se.c
4 * Copyright (C) 2000 Stuart Menefy (stuart.menefy@st.com)
6 * May be copied or modified under the terms of the GNU General Public
7 * License. See linux/COPYING for more information.
9 * Machine vector for the Hitachi SolutionEngine
12 #include <linux/config.h>
13 #include <linux/init.h>
15 #include <asm/machvec.h>
16 #include <asm/rtc.h>
17 #include <asm/machvec_init.h>
19 #include <asm/se/io.h>
21 void heartbeat_se(void);
22 void setup_se(void);
23 void init_se_IRQ(void);
26 * The Machine Vector
29 struct sh_machine_vector mv_se __initmv = {
30 #if defined(CONFIG_CPU_SH4)
31 mv_nr_irqs: 48,
32 #elif defined(CONFIG_CPU_SUBTYPE_SH7708)
33 mv_nr_irqs: 32,
34 #elif defined(CONFIG_CPU_SUBTYPE_SH7709)
35 mv_nr_irqs: 61,
36 #endif
38 mv_inb: se_inb,
39 mv_inw: se_inw,
40 mv_inl: se_inl,
41 mv_outb: se_outb,
42 mv_outw: se_outw,
43 mv_outl: se_outl,
45 mv_inb_p: se_inb_p,
46 mv_inw_p: se_inw,
47 mv_inl_p: se_inl,
48 mv_outb_p: se_outb_p,
49 mv_outw_p: se_outw,
50 mv_outl_p: se_outl,
52 mv_insb: se_insb,
53 mv_insw: se_insw,
54 mv_insl: se_insl,
55 mv_outsb: se_outsb,
56 mv_outsw: se_outsw,
57 mv_outsl: se_outsl,
59 mv_readb: se_readb,
60 mv_readw: se_readw,
61 mv_readl: se_readl,
62 mv_writeb: se_writeb,
63 mv_writew: se_writew,
64 mv_writel: se_writel,
66 mv_ioremap: generic_ioremap,
67 mv_iounmap: generic_iounmap,
69 mv_isa_port2addr: se_isa_port2addr,
71 mv_init_irq: init_se_IRQ,
72 #ifdef CONFIG_HEARTBEAT
73 mv_heartbeat: heartbeat_se,
74 #endif
76 ALIAS_MV(se)