Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame^] | 1 | /* |
| 2 | * linux/arch/sh/kernel/mach_hs7751rvoip.c |
| 3 | * |
| 4 | * Minor tweak of mach_se.c file to reference hs7751rvoip-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 Renesas Technology sales HS7751RVoIP |
| 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/irq.h> |
| 18 | #include <asm/hs7751rvoip/io.h> |
| 19 | |
| 20 | extern void init_hs7751rvoip_IRQ(void); |
| 21 | extern void *hs7751rvoip_ioremap(unsigned long, unsigned long); |
| 22 | |
| 23 | /* |
| 24 | * The Machine Vector |
| 25 | */ |
| 26 | |
| 27 | struct sh_machine_vector mv_hs7751rvoip __initmv = { |
| 28 | .mv_nr_irqs = 72, |
| 29 | |
| 30 | .mv_inb = hs7751rvoip_inb, |
| 31 | .mv_inw = hs7751rvoip_inw, |
| 32 | .mv_inl = hs7751rvoip_inl, |
| 33 | .mv_outb = hs7751rvoip_outb, |
| 34 | .mv_outw = hs7751rvoip_outw, |
| 35 | .mv_outl = hs7751rvoip_outl, |
| 36 | |
| 37 | .mv_inb_p = hs7751rvoip_inb_p, |
| 38 | .mv_inw_p = hs7751rvoip_inw, |
| 39 | .mv_inl_p = hs7751rvoip_inl, |
| 40 | .mv_outb_p = hs7751rvoip_outb_p, |
| 41 | .mv_outw_p = hs7751rvoip_outw, |
| 42 | .mv_outl_p = hs7751rvoip_outl, |
| 43 | |
| 44 | .mv_insb = hs7751rvoip_insb, |
| 45 | .mv_insw = hs7751rvoip_insw, |
| 46 | .mv_insl = hs7751rvoip_insl, |
| 47 | .mv_outsb = hs7751rvoip_outsb, |
| 48 | .mv_outsw = hs7751rvoip_outsw, |
| 49 | .mv_outsl = hs7751rvoip_outsl, |
| 50 | |
| 51 | .mv_ioremap = hs7751rvoip_ioremap, |
| 52 | .mv_isa_port2addr = hs7751rvoip_isa_port2addr, |
| 53 | .mv_init_irq = init_hs7751rvoip_IRQ, |
| 54 | }; |
| 55 | ALIAS_MV(hs7751rvoip) |