Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
86
Issues
86
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
White Rabbit Switch - Software
Commits
db20cc97
Commit
db20cc97
authored
Mar 05, 2012
by
Tomasz Wlostowski
Committed by
Alessandro Rubini
Mar 05, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pps_gen.c: enable PPS output by default
parent
5165a2b4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
pps_gen.c
userspace/libswitchhw/pps_gen.c
+1
-0
No files found.
userspace/libswitchhw/pps_gen.c
View file @
db20cc97
...
...
@@ -28,6 +28,7 @@ int shw_pps_gen_init()
_fpga_writel
(
FPGA_BASE_PPS_GEN
+
PPSG_REG_CR
,
cr
|
PPSG_CR_CNT_SET
);
_fpga_writel
(
FPGA_BASE_PPS_GEN
+
PPSG_REG_CR
,
cr
);
_fpga_writel
(
FPGA_BASE_PPS_GEN
+
0x1c
,
0x6
);
/* enable PPS output */
}
/* Adjusts the nanosecond (125 MHz refclk cycle) counter by atomically adding (how_much). */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment