Linux-2.6.12-rc2
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / arch / sh / boards / hp6xx / hp680 / mach.c
blobd73486136045610807626210aff47827288aff4f
1 /*
2 * linux/arch/sh/boards/hp6xx/hp680/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 HP680
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.h>
19 #include <asm/hd64461/hd64461.h>
20 #include <asm/hp6xx/io.h>
21 #include <asm/irq.h>
23 struct sh_machine_vector mv_hp680 __initmv = {
24 .mv_nr_irqs = HD64461_IRQBASE + HD64461_IRQ_NUM,
26 .mv_inb = hd64461_inb,
27 .mv_inw = hd64461_inw,
28 .mv_inl = hd64461_inl,
29 .mv_outb = hd64461_outb,
30 .mv_outw = hd64461_outw,
31 .mv_outl = hd64461_outl,
33 .mv_inb_p = hd64461_inb_p,
34 .mv_inw_p = hd64461_inw,
35 .mv_inl_p = hd64461_inl,
36 .mv_outb_p = hd64461_outb_p,
37 .mv_outw_p = hd64461_outw,
38 .mv_outl_p = hd64461_outl,
40 .mv_insb = hd64461_insb,
41 .mv_insw = hd64461_insw,
42 .mv_insl = hd64461_insl,
43 .mv_outsb = hd64461_outsb,
44 .mv_outsw = hd64461_outsw,
45 .mv_outsl = hd64461_outsl,
47 .mv_readw = hd64461_readw,
48 .mv_writew = hd64461_writew,
50 .mv_irq_demux = hd64461_irq_demux,
53 ALIAS_MV(hp680)