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
b61c70e2
Commit
b61c70e2
authored
Mar 21, 2012
by
Tomasz Wlostowski
Committed by
Alessandro Rubini
Mar 21, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel/wr_nic/timestamp.c: fixed PPSgen UTC correction bug
parent
f18bb5f7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
timestamp.c
kernel/wr_nic/timestamp.c
+1
-1
No files found.
kernel/wr_nic/timestamp.c
View file @
b61c70e2
...
...
@@ -39,7 +39,7 @@ void wrn_tstamp_find_skb(struct wrn_dev *wrn, int desc)
/* so we found the skb, do the timestamping magic */
hwts
=
skb_hwtstamps
(
skb
);
wrn_ppsg_read_time
(
wrn
,
&
counter_ppsg
,
&
utc
);
if
(
counter_ppsg
>
3
*
REFCLK_FREQ
/
4
&&
wrn
->
ts_buf
[
i
].
ts
<
REFCLK_FREQ
/
4
)
if
(
counter_ppsg
<
wrn
->
ts_buf
[
i
].
ts
)
utc
--
;
ts
.
tv_sec
=
(
s32
)
utc
&
0x7fffffff
;
...
...
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