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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 786 skrzyp
//=============================================================================
2
//
3
//      mod_regs_eth.h
4
//
5
//      EtherC (ethernet 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:        2002-01-30
45
//              
46
//####DESCRIPTIONEND####
47
//
48
//=============================================================================
49
 
50
#define CYGARC_REG_EDMR                 0xfffffd00
51
#define CYGARC_REG_EDTRR                0xfffffd04
52
#define CYGARC_REG_EDRRR                0xfffffd08
53
#define CYGARC_REG_TDLAR                0xfffffd0c
54
#define CYGARC_REG_RDLAR                0xfffffd10
55
#define CYGARC_REG_EESR                 0xfffffd14
56
#define CYGARC_REG_EESIPR               0xfffffd18
57
#define CYGARC_REG_TRSCER               0xfffffd1c
58
#define CYGARC_REG_RMFCR                0xfffffd20
59
#define CYGARC_REG_TFTR                 0xfffffd24
60
#define CYGARC_REG_FDR                  0xfffffd28
61
#define CYGARC_REG_RCR                  0xfffffd2c
62
#define CYGARC_REG_EDOCR                0xfffffd30
63
#define CYGARC_REG_RBWAR                0xfffffd40
64
#define CYGARC_REG_RDFAR                0xfffffd44
65
#define CYGARC_REG_TBRAR                0xfffffd4c
66
#define CYGARC_REG_TDFAR                0xfffffd50
67
 
68
#define CYGARC_REG_ECMR                 0xfffffd60
69
#define CYGARC_REG_ECSR                 0xfffffd64
70
#define CYGARC_REG_ECSIPR               0xfffffd68
71
#define CYGARC_REG_PIR                  0xfffffd6c
72
#define CYGARC_REG_MAHR                 0xfffffd70
73
#define CYGARC_REG_MALR                 0xfffffd74
74
#define CYGARC_REG_RFLR                 0xfffffd78
75
#define CYGARC_REG_PSR                  0xfffffd7c
76
#define CYGARC_REG_TROCR                0xfffffd80
77
#define CYGARC_REG_CDCR                 0xfffffd84
78
#define CYGARC_REG_LCCR                 0xfffffd88
79
#define CYGARC_REG_CNDCR                0xfffffd8c
80
#define CYGARC_REG_IFLCR                0xfffffd90
81
#define CYGARC_REG_CECFR                0xfffffd94
82
#define CYGARC_REG_FRECR                0xfffffd98
83
#define CYGARC_REG_TSFRCR               0xfffffd9c
84
#define CYGARC_REG_TLFRCR               0xfffffda0
85
#define CYGARC_REG_RFCR                 0xfffffda4
86
#define CYGARC_REG_MAFCR                0xfffffda8
87
 
88
 
89
#define CYGARC_REG_PIR_MDI              0x00000008
90
#define CYGARC_REG_PIR_MDO              0x00000004
91
#define CYGARC_REG_PIR_MMD_WRITE        0x00000002
92
#define CYGARC_REG_PIR_MMD_READ         0x00000000
93
#define CYGARC_REG_PIR_MDC              0x00000001
94
 
95
#define CYGARC_REG_RCR_RNC              0x00000001
96
 
97
#define CYGARC_REG_EESR_RFCOF           0x01000000
98
#define CYGARC_REG_EESR_ECI             0x00400000
99
#define CYGARC_REG_EESR_TC              0x00200000
100
#define CYGARC_REG_EESR_TDE             0x00100000
101
#define CYGARC_REG_EESR_TFUF            0x00080000
102
#define CYGARC_REG_EESR_FR              0x00040000
103
#define CYGARC_REG_EESR_RDE             0x00020000
104
#define CYGARC_REG_EESR_RFOF            0x00010000
105
#define CYGARC_REG_EESR_ITF             0x00001000
106
#define CYGARC_REG_EESR_CND             0x00000800
107
#define CYGARC_REG_EESR_DLC             0x00000400
108
#define CYGARC_REG_EESR_CD              0x00000200
109
#define CYGARC_REG_EESR_TRO             0x00000100
110
#define CYGARC_REG_EESR_RMAF            0x00000080
111
#define CYGARC_REG_EESR_RRF             0x00000010
112
#define CYGARC_REG_EESR_RTLF            0x00000008
113
#define CYGARC_REG_EESR_RTSF            0x00000004
114
#define CYGARC_REG_EESR_PRE             0x00000002
115
#define CYGARC_REG_EESR_CERF            0x00000001
116
 
117
#define CYGARC_REG_EESIPR_RFCOFIP       0x01000000
118
#define CYGARC_REG_EESIPR_ECIIP         0x00400000
119
#define CYGARC_REG_EESIPR_TCIP          0x00200000
120
#define CYGARC_REG_EESIPR_TDEIP         0x00100000
121
#define CYGARC_REG_EESIPR_TFUFIP        0x00080000
122
#define CYGARC_REG_EESIPR_FRIP          0x00040000
123
#define CYGARC_REG_EESIPR_RDEIP         0x00020000
124
#define CYGARC_REG_EESIPR_RFOFIP        0x00010000
125
#define CYGARC_REG_EESIPR_ITFIP         0x00001000
126
#define CYGARC_REG_EESIPR_CNDIP         0x00000800
127
#define CYGARC_REG_EESIPR_DLCIP         0x00000400
128
#define CYGARC_REG_EESIPR_CDIP          0x00000200
129
#define CYGARC_REG_EESIPR_TROIP         0x00000100
130
#define CYGARC_REG_EESIPR_RMAFIP        0x00000080
131
#define CYGARC_REG_EESIPR_RRFIP         0x00000010
132
#define CYGARC_REG_EESIPR_RTLFIP        0x00000008
133
#define CYGARC_REG_EESIPR_RTSFIP        0x00000004
134
#define CYGARC_REG_EESIPR_PREIP         0x00000002
135
#define CYGARC_REG_EESIPR_CERFIP        0x00000001
136
 
137
 
138
#define CYGARC_REG_ECMR_PRCEF           0x00001000
139
#define CYGARC_REG_ECMR_MPDE            0x00000200
140
#define CYGARC_REG_ECMR_RE              0x00000040
141
#define CYGARC_REG_ECMR_TE              0x00000020
142
#define CYGARC_REG_ECMR_ILB             0x00000008
143
#define CYGARC_REG_ECMR_ELB             0x00000004
144
#define CYGARC_REG_ECMR_DM              0x00000002
145
#define CYGARC_REG_ECMR_PRM             0x00000001
146
 
147
 
148
#define CYGARC_REG_EDMR_DL64            0x00000020
149
#define CYGARC_REG_EDMR_DL32            0x00000010
150
#define CYGARC_REG_EDMR_DL16            0x00000000
151
#define CYGARC_REG_EDMR_SWR             0x00000001
152
 
153
#define CYGARC_REG_PSR_LMON             0x00000001
154
 
155
#define CYGARC_REG_EDTRR_TR             0x00000001
156
 
157
#define CYGARC_REG_EDRRR_RR             0x00000001

powered by: WebSVN 2.1.0

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