2 * linux/arch/sh/kernel/mach_rts7751r2d.c
4 * Minor tweak of mach_se.c file to reference rts7751r2d-specific items.
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 Renesas Technology sales RTS7751R2D
12 #include <linux/config.h>
13 #include <linux/init.h>
14 #include <linux/types.h>
16 #include <asm/machvec.h>
19 #include <asm/rts7751r2d/io.h>
21 extern void heartbeat_rts7751r2d(void);
22 extern void init_rts7751r2d_IRQ(void);
23 extern void *rts7751r2d_ioremap(unsigned long, unsigned long);
24 extern int rts7751r2d_irq_demux(int irq
);
26 extern void *voyagergx_consistent_alloc(struct device
*, size_t, dma_addr_t
*, int);
27 extern void voyagergx_consistent_free(struct device
*, size_t, void *, dma_addr_t
);
33 struct sh_machine_vector mv_rts7751r2d __initmv
= {
36 .mv_inb
= rts7751r2d_inb
,
37 .mv_inw
= rts7751r2d_inw
,
38 .mv_inl
= rts7751r2d_inl
,
39 .mv_outb
= rts7751r2d_outb
,
40 .mv_outw
= rts7751r2d_outw
,
41 .mv_outl
= rts7751r2d_outl
,
43 .mv_inb_p
= rts7751r2d_inb_p
,
44 .mv_inw_p
= rts7751r2d_inw
,
45 .mv_inl_p
= rts7751r2d_inl
,
46 .mv_outb_p
= rts7751r2d_outb_p
,
47 .mv_outw_p
= rts7751r2d_outw
,
48 .mv_outl_p
= rts7751r2d_outl
,
50 .mv_insb
= rts7751r2d_insb
,
51 .mv_insw
= rts7751r2d_insw
,
52 .mv_insl
= rts7751r2d_insl
,
53 .mv_outsb
= rts7751r2d_outsb
,
54 .mv_outsw
= rts7751r2d_outsw
,
55 .mv_outsl
= rts7751r2d_outsl
,
57 .mv_ioremap
= rts7751r2d_ioremap
,
58 .mv_isa_port2addr
= rts7751r2d_isa_port2addr
,
59 .mv_init_irq
= init_rts7751r2d_IRQ
,
60 #ifdef CONFIG_HEARTBEAT
61 .mv_heartbeat
= heartbeat_rts7751r2d
,
63 .mv_irq_demux
= rts7751r2d_irq_demux
,
65 .mv_consistent_alloc
= voyagergx_consistent_alloc
,
66 .mv_consistent_free
= voyagergx_consistent_free
,