Automatic merge of rsync://rsync.kernel.org/pub/scm/linux/kernel/git/gregkh/driver...
[linux-2.6/verdex.git] / arch / sh / boards / unknown / mach.c
blobad0bcc60a640af7a98c3300a6ea16727eae7bfa3
1 /*
2 * linux/arch/sh/kernel/mach_unknown.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 specific code for an unknown machine (internal peripherials only)
12 #include <linux/config.h>
13 #include <linux/init.h>
15 #include <asm/machvec.h>
16 #include <asm/machvec_init.h>
18 #include <asm/io_unknown.h>
20 #include <asm/rtc.h>
22 * The Machine Vector
25 struct sh_machine_vector mv_unknown __initmv = {
26 #if defined(CONFIG_CPU_SH4)
27 .mv_nr_irqs = 48,
28 #elif defined(CONFIG_CPU_SUBTYPE_SH7708)
29 .mv_nr_irqs = 32,
30 #elif defined(CONFIG_CPU_SUBTYPE_SH7709)
31 .mv_nr_irqs = 61,
32 #endif
34 .mv_inb = unknown_inb,
35 .mv_inw = unknown_inw,
36 .mv_inl = unknown_inl,
37 .mv_outb = unknown_outb,
38 .mv_outw = unknown_outw,
39 .mv_outl = unknown_outl,
41 .mv_inb_p = unknown_inb_p,
42 .mv_inw_p = unknown_inw_p,
43 .mv_inl_p = unknown_inl_p,
44 .mv_outb_p = unknown_outb_p,
45 .mv_outw_p = unknown_outw_p,
46 .mv_outl_p = unknown_outl_p,
48 .mv_insb = unknown_insb,
49 .mv_insw = unknown_insw,
50 .mv_insl = unknown_insl,
51 .mv_outsb = unknown_outsb,
52 .mv_outsw = unknown_outsw,
53 .mv_outsl = unknown_outsl,
55 .mv_readb = unknown_readb,
56 .mv_readw = unknown_readw,
57 .mv_readl = unknown_readl,
58 .mv_writeb = unknown_writeb,
59 .mv_writew = unknown_writew,
60 .mv_writel = unknown_writel,
62 .mv_ioremap = unknown_ioremap,
63 .mv_iounmap = unknown_iounmap,
65 .mv_isa_port2addr = unknown_isa_port2addr,
67 ALIAS_MV(unknown)