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

Subversion Repositories or1k

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1275 phoenix
/*
2
 * linux/arch/sh/kernel/mach_bigsur.c
3
 *
4
 * By Dustin McIntire (dustin@sensoria.com) (c)2001
5
 * Derived from mach_se.h, which bore the message:
6
 * Copyright (C) 2000 Stuart Menefy (stuart.menefy@st.com)
7
 *
8
 * May be copied or modified under the terms of the GNU General Public
9
 * License.  See linux/COPYING for more information.
10
 *
11
 * Machine vector for the Hitachi Big Sur Evaluation Board
12
 */
13
 
14
#include <linux/config.h>
15
#include <linux/init.h>
16
 
17
#include <asm/machvec.h>
18
#include <asm/rtc.h>
19
#include <asm/machvec_init.h>
20
#include <asm/io.h>
21
#include <asm/io_bigsur.h>
22
#include <asm/irq.h>
23
 
24
/*
25
 * The Machine Vector
26
 */
27
extern void heartbeat_bigsur(void);
28
extern void setup_bigsur(void);
29
extern void init_bigsur_IRQ(void);
30
 
31
struct sh_machine_vector mv_bigsur __initmv = {
32
        mv_name:                "Big Sur",
33
        mv_nr_irqs:             NR_IRQS,     // Defined in <asm/irq.h>
34
        mv_inb:                 bigsur_inb,
35
        mv_inw:                 bigsur_inw,
36
        mv_inl:                 bigsur_inl,
37
        mv_outb:                bigsur_outb,
38
        mv_outw:                bigsur_outw,
39
        mv_outl:                bigsur_outl,
40
 
41
        mv_inb_p:               bigsur_inb_p,
42
        mv_inw_p:               bigsur_inw,
43
        mv_inl_p:               bigsur_inl,
44
        mv_outb_p:              bigsur_outb_p,
45
        mv_outw_p:              bigsur_outw,
46
        mv_outl_p:              bigsur_outl,
47
 
48
        mv_insb:                bigsur_insb,
49
        mv_insw:                bigsur_insw,
50
        mv_insl:                bigsur_insl,
51
        mv_outsb:               bigsur_outsb,
52
        mv_outsw:               bigsur_outsw,
53
        mv_outsl:               bigsur_outsl,
54
 
55
        mv_readb:               generic_readb,
56
        mv_readw:               generic_readw,
57
        mv_readl:               generic_readl,
58
        mv_writeb:              generic_writeb,
59
        mv_writew:              generic_writew,
60
        mv_writel:              generic_writel,
61
 
62
        mv_ioremap:             generic_ioremap,
63
        mv_iounmap:             generic_iounmap,
64
 
65
        mv_isa_port2addr:       bigsur_isa_port2addr,
66
        mv_irq_demux:       bigsur_irq_demux,
67
 
68
        mv_init_arch:           setup_bigsur,
69
        mv_init_irq:            init_bigsur_IRQ,
70
#ifdef CONFIG_HEARTBEAT
71
        mv_heartbeat:           heartbeat_bigsur,
72
#endif
73
        mv_rtc_gettimeofday:    sh_rtc_gettimeofday,
74
        mv_rtc_settimeofday:    sh_rtc_settimeofday,
75
 
76
};
77
ALIAS_MV(bigsur)

powered by: WebSVN 2.1.0

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