Linux-2.6.12-rc2
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / arch / sh / boards / overdrive / mach.c
blob2834a03ae477b3c8532c675b9a88eefa67cf21e0
1 /*
2 * linux/arch/sh/overdrive/mach.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 STMicroelectronics Overdrive
12 #include <linux/init.h>
14 #include <asm/machvec.h>
15 #include <asm/rtc.h>
16 #include <asm/machvec_init.h>
18 #include <asm/io_unknown.h>
19 #include <asm/io_generic.h>
20 #include <asm/overdrive/io.h>
22 void heartbeat_od(void);
23 void init_overdrive_irq(void);
24 void galileo_pcibios_init(void);
27 * The Machine Vector
30 struct sh_machine_vector mv_od __initmv = {
31 .mv_nr_irqs = 48,
33 .mv_inb = od_inb,
34 .mv_inw = od_inw,
35 .mv_inl = od_inl,
36 .mv_outb = od_outb,
37 .mv_outw = od_outw,
38 .mv_outl = od_outl,
40 .mv_inb_p = od_inb_p,
41 .mv_inw_p = od_inw_p,
42 .mv_inl_p = od_inl_p,
43 .mv_outb_p = od_outb_p,
44 .mv_outw_p = od_outw_p,
45 .mv_outl_p = od_outl_p,
47 .mv_insb = od_insb,
48 .mv_insw = od_insw,
49 .mv_insl = od_insl,
50 .mv_outsb = od_outsb,
51 .mv_outsw = od_outsw,
52 .mv_outsl = od_outsl,
54 #ifdef CONFIG_PCI
55 .mv_init_irq = init_overdrive_irq,
56 #endif
57 #ifdef CONFIG_HEARTBEAT
58 .mv_heartbeat = heartbeat_od,
59 #endif
62 ALIAS_MV(od)