OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [arch/] [sh/] [kernel/] [mach_unknown.c] - Blame information for rev 1275

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1275 phoenix
/*
2
 * linux/arch/sh/kernel/mach_unknown.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 specific code for an unknown machine (internal peripherials only)
10
 */
11
 
12
#include <linux/config.h>
13
#include <linux/init.h>
14
 
15
#include <asm/machvec.h>
16
#include <asm/machvec_init.h>
17
 
18
#include <asm/io_unknown.h>
19
 
20
#include <asm/rtc.h>
21
/*
22
 * The Machine Vector
23
 */
24
 
25
struct sh_machine_vector mv_unknown __initmv = {
26
        mv_name:                "Unknown",
27
 
28
#if defined(__SH4__)
29
        mv_nr_irqs:             48,
30
#elif defined(CONFIG_CPU_SUBTYPE_SH7708)
31
        mv_nr_irqs:             32,
32
#elif defined(CONFIG_CPU_SUBTYPE_SH7709)
33
        mv_nr_irqs:             61,
34
#endif
35
 
36
        mv_inb:                 unknown_inb,
37
        mv_inw:                 unknown_inw,
38
        mv_inl:                 unknown_inl,
39
        mv_outb:                unknown_outb,
40
        mv_outw:                unknown_outw,
41
        mv_outl:                unknown_outl,
42
 
43
        mv_inb_p:               unknown_inb_p,
44
        mv_inw_p:               unknown_inw_p,
45
        mv_inl_p:               unknown_inl_p,
46
        mv_outb_p:              unknown_outb_p,
47
        mv_outw_p:              unknown_outw_p,
48
        mv_outl_p:              unknown_outl_p,
49
 
50
        mv_insb:                unknown_insb,
51
        mv_insw:                unknown_insw,
52
        mv_insl:                unknown_insl,
53
        mv_outsb:               unknown_outsb,
54
        mv_outsw:               unknown_outsw,
55
        mv_outsl:               unknown_outsl,
56
 
57
        mv_readb:               unknown_readb,
58
        mv_readw:               unknown_readw,
59
        mv_readl:               unknown_readl,
60
        mv_writeb:              unknown_writeb,
61
        mv_writew:              unknown_writew,
62
        mv_writel:              unknown_writel,
63
 
64
        mv_ioremap:             unknown_ioremap,
65
        mv_iounmap:             unknown_iounmap,
66
 
67
        mv_isa_port2addr:       unknown_isa_port2addr,
68
 
69
        mv_rtc_gettimeofday:    sh_rtc_gettimeofday,
70
        mv_rtc_settimeofday:    sh_rtc_settimeofday,
71
};
72
ALIAS_MV(unknown)

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.