1/*
2 * linux/arch/sh/kernel/mach_7751se.c
3 *
4 * Minor tweak of mach_se.c file to reference 7751se-specific items.
5 *
6 * May be copied or modified under the terms of the GNU General Public
7 * License.  See linux/COPYING for more information.
8 *
9 * Machine vector for the Hitachi 7751 SolutionEngine
10 */
11
12#include <linux/config.h>
13#include <linux/init.h>
14
15#include <asm/machvec.h>
16#include <asm/rtc.h>
17#include <asm/machvec_init.h>
18
19#include <asm/io_7751se.h>
20
21void heartbeat_7751se(void);
22void setup_7751se(void);
23void init_7751se_IRQ(void);
24
25/*
26 * The Machine Vector
27 */
28
29struct sh_machine_vector mv_7751se __initmv = {
30	mv_name:		"7751 SolutionEngine",
31
32	mv_nr_irqs:		72,
33
34	mv_inb:			sh7751se_inb,
35	mv_inw:			sh7751se_inw,
36	mv_inl:			sh7751se_inl,
37	mv_outb:		sh7751se_outb,
38	mv_outw:		sh7751se_outw,
39	mv_outl:		sh7751se_outl,
40
41	mv_inb_p:		sh7751se_inb_p,
42	mv_inw_p:		sh7751se_inw,
43	mv_inl_p:		sh7751se_inl,
44	mv_outb_p:		sh7751se_outb_p,
45	mv_outw_p:		sh7751se_outw,
46	mv_outl_p:		sh7751se_outl,
47
48	mv_insb:		sh7751se_insb,
49	mv_insw:		sh7751se_insw,
50	mv_insl:		sh7751se_insl,
51	mv_outsb:		sh7751se_outsb,
52	mv_outsw:		sh7751se_outsw,
53	mv_outsl:		sh7751se_outsl,
54
55	mv_readb:		sh7751se_readb,
56	mv_readw:		sh7751se_readw,
57	mv_readl:		sh7751se_readl,
58	mv_writeb:		sh7751se_writeb,
59	mv_writew:		sh7751se_writew,
60	mv_writel:		sh7751se_writel,
61
62	mv_ioremap:		generic_ioremap,
63	mv_iounmap:		generic_iounmap,
64
65	mv_isa_port2addr:	sh7751se_isa_port2addr,
66
67	mv_init_arch:		setup_7751se,
68	mv_init_irq:		init_7751se_IRQ,
69#ifdef CONFIG_HEARTBEAT
70	mv_heartbeat:		heartbeat_7751se,
71#endif
72
73	mv_rtc_gettimeofday:	sh_rtc_gettimeofday,
74	mv_rtc_settimeofday:	sh_rtc_settimeofday,
75
76	mv_hw_7751se:		1,
77};
78ALIAS_MV(7751se)
79