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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [packages/] [hal/] [sh/] [sh4/] [current/] [include/] [mod_regs_pcic.h] - Blame information for rev 786

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 786 skrzyp
//=============================================================================
2
//
3
//      mod_regs_pcic.h
4
//
5
//      PCIC (PCI controller) Module register definitions
6
//
7
//=============================================================================
8
// ####ECOSGPLCOPYRIGHTBEGIN####                                            
9
// -------------------------------------------                              
10
// This file is part of eCos, the Embedded Configurable Operating System.   
11
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
12
//
13
// eCos is free software; you can redistribute it and/or modify it under    
14
// the terms of the GNU General Public License as published by the Free     
15
// Software Foundation; either version 2 or (at your option) any later      
16
// version.                                                                 
17
//
18
// eCos is distributed in the hope that it will be useful, but WITHOUT      
19
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or    
20
// FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License    
21
// for more details.                                                        
22
//
23
// You should have received a copy of the GNU General Public License        
24
// along with eCos; if not, write to the Free Software Foundation, Inc.,    
25
// 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.            
26
//
27
// As a special exception, if other files instantiate templates or use      
28
// macros or inline functions from this file, or you compile this file      
29
// and link it with other works to produce a work based on this file,       
30
// this file does not by itself cause the resulting work to be covered by   
31
// the GNU General Public License. However the source code for this file    
32
// must still be made available in accordance with section (3) of the GNU   
33
// General Public License v2.                                               
34
//
35
// This exception does not invalidate any other reasons why a work based    
36
// on this file might be covered by the GNU General Public License.         
37
// -------------------------------------------                              
38
// ####ECOSGPLCOPYRIGHTEND####                                              
39
//=============================================================================
40
//#####DESCRIPTIONBEGIN####
41
//
42
// Author(s):   jskov
43
// Contributors:jskov
44
// Date:        2001-07-10
45
//              
46
//####DESCRIPTIONEND####
47
//
48
//=============================================================================
49
 
50
//--------------------------------------------------------------------------
51
// PCI control registers
52
#define CYGARC_REG_PCIC_BASE           0xfe200000
53
#define CYGARC_REG_PCIC_IO_BASE        0xfe240000
54
#define CYGARC_REG_PCIC_IO_BASE_MASK   0x0003ffff
55
#define CYGARC_REG_PCIC_MEM_BASE       0xfd000000
56
 
57
 
58
 
59
#define CYGARC_REG_PCIC_CFG            (CYGARC_REG_PCIC_BASE)
60
 
61
#define CYGARC_REG_PCIC_CR             (CYGARC_REG_PCIC_BASE + 0x100)
62
#define CYGARC_REG_PCIC_LSR0           (CYGARC_REG_PCIC_BASE + 0x104)
63
#define CYGARC_REG_PCIC_LSR1           (CYGARC_REG_PCIC_BASE + 0x108)
64
#define CYGARC_REG_PCIC_LAR0           (CYGARC_REG_PCIC_BASE + 0x10c)
65
#define CYGARC_REG_PCIC_LAR1           (CYGARC_REG_PCIC_BASE + 0x110)
66
#define CYGARC_REG_PCIC_INT            (CYGARC_REG_PCIC_BASE + 0x114)
67
#define CYGARC_REG_PCIC_INTM           (CYGARC_REG_PCIC_BASE + 0x118)
68
#define CYGARC_REG_PCIC_ALR            (CYGARC_REG_PCIC_BASE + 0x11c)
69
#define CYGARC_REG_PCIC_CLR            (CYGARC_REG_PCIC_BASE + 0x120)
70
#define CYGARC_REG_PCIC_AINT           (CYGARC_REG_PCIC_BASE + 0x130)
71
#define CYGARC_REG_PCIC_AINTM          (CYGARC_REG_PCIC_BASE + 0x134)
72
#define CYGARC_REG_PCIC_BMLR           (CYGARC_REG_PCIC_BASE + 0x138)
73
#define CYGARC_REG_PCIC_DMABT          (CYGARC_REG_PCIC_BASE + 0x140)
74
#define CYGARC_REG_PCIC_DPA0           (CYGARC_REG_PCIC_BASE + 0x180)
75
#define CYGARC_REG_PCIC_DLA0           (CYGARC_REG_PCIC_BASE + 0x184)
76
#define CYGARC_REG_PCIC_DTC0           (CYGARC_REG_PCIC_BASE + 0x188)
77
#define CYGARC_REG_PCIC_DCR0           (CYGARC_REG_PCIC_BASE + 0x18c)
78
#define CYGARC_REG_PCIC_DPA1           (CYGARC_REG_PCIC_BASE + 0x190)
79
#define CYGARC_REG_PCIC_DLA1           (CYGARC_REG_PCIC_BASE + 0x194)
80
#define CYGARC_REG_PCIC_DTC1           (CYGARC_REG_PCIC_BASE + 0x198)
81
#define CYGARC_REG_PCIC_DCR1           (CYGARC_REG_PCIC_BASE + 0x19c)
82
#define CYGARC_REG_PCIC_DPA2           (CYGARC_REG_PCIC_BASE + 0x1a0)
83
#define CYGARC_REG_PCIC_DLA2           (CYGARC_REG_PCIC_BASE + 0x1a4)
84
#define CYGARC_REG_PCIC_DTC2           (CYGARC_REG_PCIC_BASE + 0x1a8)
85
#define CYGARC_REG_PCIC_DCR2           (CYGARC_REG_PCIC_BASE + 0x1ac)
86
#define CYGARC_REG_PCIC_DPA3           (CYGARC_REG_PCIC_BASE + 0x1b0)
87
#define CYGARC_REG_PCIC_DLA3           (CYGARC_REG_PCIC_BASE + 0x1b4)
88
#define CYGARC_REG_PCIC_DTC3           (CYGARC_REG_PCIC_BASE + 0x1b8)
89
#define CYGARC_REG_PCIC_DCR3           (CYGARC_REG_PCIC_BASE + 0x1bc)
90
#define CYGARC_REG_PCIC_PAR            (CYGARC_REG_PCIC_BASE + 0x1c0)
91
#define CYGARC_REG_PCIC_MBR            (CYGARC_REG_PCIC_BASE + 0x1c4)
92
#define CYGARC_REG_PCIC_IOBR           (CYGARC_REG_PCIC_BASE + 0x1c8)
93
#define CYGARC_REG_PCIC_PINT           (CYGARC_REG_PCIC_BASE + 0x1cc)
94
#define CYGARC_REG_PCIC_PINTM          (CYGARC_REG_PCIC_BASE + 0x1d0)
95
#define CYGARC_REG_PCIC_CLKR           (CYGARC_REG_PCIC_BASE + 0x1d4)
96
#define CYGARC_REG_PCIC_BCR1           (CYGARC_REG_PCIC_BASE + 0x1e0)
97
#define CYGARC_REG_PCIC_BCR2           (CYGARC_REG_PCIC_BASE + 0x1e4)
98
#define CYGARC_REG_PCIC_WCR1           (CYGARC_REG_PCIC_BASE + 0x1e8)
99
#define CYGARC_REG_PCIC_WCR2           (CYGARC_REG_PCIC_BASE + 0x1ec)
100
#define CYGARC_REG_PCIC_WCR3           (CYGARC_REG_PCIC_BASE + 0x1f0)
101
#define CYGARC_REG_PCIC_MCR            (CYGARC_REG_PCIC_BASE + 0x1f4)
102
#define CYGARC_REG_PCIC_PCTR           (CYGARC_REG_PCIC_BASE + 0x200)
103
#define CYGARC_REG_PCIC_PDTR           (CYGARC_REG_PCIC_BASE + 0x204)
104
#define CYGARC_REG_PCIC_PDR            (CYGARC_REG_PCIC_BASE + 0x220)
105
 
106
 
107
#define CYGARC_REG_PCIC_CR_MAGIC          0xa5000000
108
#define CYGARC_REG_PCIC_CR_TRDSGL         0x00000200
109
#define CYGARC_REG_PCIC_CR_BYTESWAP       0x00000100
110
#define CYGARC_REG_PCIC_CR_PCIPUP         0x00000080
111
#define CYGARC_REG_PCIC_CR_BMABT          0x00000040
112
#define CYGARC_REG_PCIC_CR_MD10           0x00000020
113
#define CYGARC_REG_PCIC_CR_MD9            0x00000010
114
#define CYGARC_REG_PCIC_CR_SERR           0x00000008
115
#define CYGARC_REG_PCIC_CR_INTA           0x00000004
116
#define CYGARC_REG_PCIC_CR_PCIRST         0x00000002
117
#define CYGARC_REG_PCIC_CR_CFINIT         0x00000001
118
#define CYGARC_REG_PCIC_CR_INIT           0xa5000001
119
 
120
#define CYGARC_REG_PCIC_IOBR_MASK         0xfffc0000
121
 
122
#define CYGARC_REG_PCIC_PAR_ENABLE        0x80000000
123
#define CYGARC_REG_PCIC_PAR_BUSNO_shift   16
124
#define CYGARC_REG_PCIC_PAR_FUNC_shift    8
125
 
126
 
127
#define CYGARC_REG_PCIC_INTM_M_LOCKON     0x00008000
128
#define CYGARC_REG_PCIC_INTM_T_TGT_ABORT  0x00004000
129
#define CYGARC_REG_PCIC_INTM_TGT_RETRY    0x00000200
130
#define CYGARC_REG_PCIC_INTM_MST_DIS      0x00000100
131
#define CYGARC_REG_PCIC_INTM_ADRPERR      0x00000080
132
#define CYGARC_REG_PCIC_INTM_SERR_DET     0x00000040
133
#define CYGARC_REG_PCIC_INTM_T_DPERR_WT   0x00000020
134
#define CYGARC_REG_PCIC_INTM_T_PERR_DET   0x00000010
135
#define CYGARC_REG_PCIC_INTM_M_TGT_ABORT  0x00000008
136
#define CYGARC_REG_PCIC_INTM_M_MST_ABORT  0x00000004
137
#define CYGARC_REG_PCIC_INTM_M_DPERR_WT   0x00000002
138
#define CYGARC_REG_PCIC_INTM_M_DPERR_RD   0x00000001
139
#define CYGARC_REG_PCIC_INTM_INIT         0x0000c3ff
140
 
141
#define CYGARC_REG_PCIC_AINTM_MST_BRKN    0x00002000
142
#define CYGARC_REG_PCIC_AINTM_TGT_BUSTO   0x00001000
143
#define CYGARC_REG_PCIC_AINTM_MST_BUSTO   0x00000800
144
#define CYGARC_REG_PCIC_AINTM_TGT_ABORT   0x00000008
145
#define CYGARC_REG_PCIC_AINTM_MST_ABORT   0x00000004
146
#define CYGARC_REG_PCIC_AINTM_DPERR_WT    0x00000002
147
#define CYGARC_REG_PCIC_AINTM_DPERR_RD    0x00000001
148
#define CYGARC_REG_PCIC_AINTM_INIT        0x0000380f
149
 

powered by: WebSVN 2.1.0

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