Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
White Rabbit Switch - Software
Manage
Activity
Members
Labels
Plan
Issues
87
Issue boards
Milestones
Wiki
Code
Merge requests
4
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
White Rabbit Switch - Software
Commits
00ca6765
Commit
00ca6765
authored
14 years ago
by
Alessandro Rubini
Browse files
Options
Downloads
Patches
Plain Diff
wbregs: new .h generated from new .wb
parent
14c37d8e
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
wbgen-regs/endpoint-regs.h
+11
-1
11 additions, 1 deletion
wbgen-regs/endpoint-regs.h
wbgen-regs/rtu-regs.h
+474
-0
474 additions, 0 deletions
wbgen-regs/rtu-regs.h
with
485 additions
and
1 deletion
wbgen-regs/endpoint-regs.h
+
11
−
1
View file @
00ca6765
...
...
@@ -171,6 +171,14 @@
#define EP_MDIO_SR_READY WBGEN2_GEN_MASK(31, 1)
/* definitions for register: Identification register */
/* definitions for register: Debug/Status register */
/* definitions for field: Link status in reg: Debug/Status register */
#define EP_DSR_LSTATUS WBGEN2_GEN_MASK(0, 1)
/* definitions for field: Link activity in reg: Debug/Status register */
#define EP_DSR_LACT WBGEN2_GEN_MASK(1, 1)
/* definitions for RAM: Event counters memory */
#define EP_RMON_RAM_BYTES 0x00000080
/* size in bytes */
#define EP_RMON_RAM_WORDS 0x00000020
/* size in 32-bit words, 32-bit aligned */
...
...
@@ -198,8 +206,10 @@ PACKED struct EP_WB {
uint32_t
MDIO_SR
;
/* [0x28]: REG Identification register */
uint32_t
IDCODE
;
/* [0x2c]: REG Debug/Status register */
uint32_t
DSR
;
/* padding to: 32 words */
uint32_t
__padding_0
[
2
1
];
uint32_t
__padding_0
[
2
0
];
/* [0x80 - 0xff]: RAM Event counters memory, 32 32-bit words, 32-bit aligned, word-addressable */
uint32_t
RMON_RAM
[
32
];
};
...
...
This diff is collapsed.
Click to expand it.
wbgen-regs/rtu-regs.h
0 → 100644
+
474
−
0
View file @
00ca6765
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment