blob: 08dbba910f7406c796099d1f2b2c788a456965f2 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
Paul Mundt00258352006-01-16 22:14:08 -08002 * linux/arch/sh/boards/hp6xx/mach.c
Linus Torvalds1da177e2005-04-16 15:20:36 -07003 *
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 */
Linus Torvalds1da177e2005-04-16 15:20:36 -070011#include <asm/machvec.h>
Paul Mundt00258352006-01-16 22:14:08 -080012#include <asm/hd64461.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070013#include <asm/io.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070014#include <asm/irq.h>
15
Paul Mundt00258352006-01-16 22:14:08 -080016struct sh_machine_vector mv_hp6xx __initmv = {
Linus Torvalds1da177e2005-04-16 15:20:36 -070017 .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
Paul Mundt00258352006-01-16 22:14:08 -080046ALIAS_MV(hp6xx)