[PATCH] fix up sbuslib for new fb_comapt_ioctl prototype
[linux-2.6.git] / arch / sh / boards / hp6xx / hp620 / mach.c
1 /*
2  * linux/arch/sh/boards/hp6xx/hp620/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 HP620
10  */
11
12 #include <linux/init.h>
13
14 #include <asm/machvec.h>
15 #include <asm/rtc.h>
16 #include <asm/machvec_init.h>
17
18 #include <asm/io.h>
19 #include <asm/hd64461/hd64461.h>
20 #include <asm/irq.h>
21
22 /*
23  * The Machine Vector
24  */
25
26 struct sh_machine_vector mv_hp620 __initmv = {
27         .mv_nr_irqs             = HD64461_IRQBASE+HD64461_IRQ_NUM,
28
29         .mv_inb                 = hd64461_inb,
30         .mv_inw                 = hd64461_inw,
31         .mv_inl                 = hd64461_inl,
32         .mv_outb                = hd64461_outb,
33         .mv_outw                = hd64461_outw,
34         .mv_outl                = hd64461_outl,
35
36         .mv_inb_p               = hd64461_inb_p,
37         .mv_inw_p               = hd64461_inw,
38         .mv_inl_p               = hd64461_inl,
39         .mv_outb_p              = hd64461_outb_p,
40         .mv_outw_p              = hd64461_outw,
41         .mv_outl_p              = hd64461_outl,
42
43         .mv_insb                = hd64461_insb,
44         .mv_insw                = hd64461_insw,
45         .mv_insl                = hd64461_insl,
46         .mv_outsb               = hd64461_outsb,
47         .mv_outsw               = hd64461_outsw,
48         .mv_outsl               = hd64461_outsl,
49
50         .mv_irq_demux           = hd64461_irq_demux,
51 };
52 ALIAS_MV(hp620)