aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/boards/hp6xx/mach.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/boards/hp6xx/mach.c')
-rw-r--r--arch/sh/boards/hp6xx/mach.c46
1 files changed, 46 insertions, 0 deletions
diff --git a/arch/sh/boards/hp6xx/mach.c b/arch/sh/boards/hp6xx/mach.c
new file mode 100644
index 000000000000..08dbba910f74
--- /dev/null
+++ b/arch/sh/boards/hp6xx/mach.c
@@ -0,0 +1,46 @@
1/*
2 * linux/arch/sh/boards/hp6xx/mach.c
3 *
4 * Copyright (C) 2000 Stuart Menefy (stuart.menefy@st.com)
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 HP680
10 */
11#include <asm/machvec.h>
12#include <asm/hd64461.h>
13#include <asm/io.h>
14#include <asm/irq.h>
15
16struct sh_machine_vector mv_hp6xx __initmv = {
17 .mv_nr_irqs = HD64461_IRQBASE + HD64461_IRQ_NUM,
18
19 .mv_inb = hd64461_inb,
20 .mv_inw = hd64461_inw,
21 .mv_inl = hd64461_inl,
22 .mv_outb = hd64461_outb,
23 .mv_outw = hd64461_outw,
24 .mv_outl = hd64461_outl,
25
26 .mv_inb_p = hd64461_inb_p,
27 .mv_inw_p = hd64461_inw,
28 .mv_inl_p = hd64461_inl,
29 .mv_outb_p = hd64461_outb_p,
30 .mv_outw_p = hd64461_outw,
31 .mv_outl_p = hd64461_outl,
32
33 .mv_insb = hd64461_insb,
34 .mv_insw = hd64461_insw,
35 .mv_insl = hd64461_insl,
36 .mv_outsb = hd64461_outsb,
37 .mv_outsw = hd64461_outsw,
38 .mv_outsl = hd64461_outsl,
39
40 .mv_readw = hd64461_readw,
41 .mv_writew = hd64461_writew,
42
43 .mv_irq_demux = hd64461_irq_demux,
44};
45
46ALIAS_MV(hp6xx)