Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Software for White Rabbit PTP Core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
32
Issues
32
List
Board
Labels
Milestones
Merge Requests
5
Merge Requests
5
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
Software for White Rabbit PTP Core
Commits
589adbd9
Commit
589adbd9
authored
Feb 04, 2021
by
Adam Wujek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dev/endpoint: fix warning, change sign of params delta_tx and delta_rx
Signed-off-by:
Adam Wujek
<
adam.wujek@creotech.pl
>
parent
08d56d07
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
endpoint.c
dev/endpoint.c
+1
-1
endpoint.h
include/dev/endpoint.h
+1
-1
No files found.
dev/endpoint.c
View file @
589adbd9
...
...
@@ -176,7 +176,7 @@ int ep_get_bitslide(struct wr_endpoint_device* dev)
}
/* Returns the TX/RX latencies. They are valid only when the link is up. */
int
ep_get_deltas
(
struct
wr_endpoint_device
*
dev
,
uint32_t
*
delta_tx
,
uint32_t
*
delta_rx
)
int
ep_get_deltas
(
struct
wr_endpoint_device
*
dev
,
int
*
delta_tx
,
int
*
delta_rx
)
{
/* fixme: these values should be stored in calibration block in the EEPROM on the FMC. Also, the TX/RX delays of a particular SFP
should be added here */
...
...
include/dev/endpoint.h
View file @
589adbd9
...
...
@@ -47,7 +47,7 @@ int ep_is_mac_addr_set(struct wr_endpoint_device* dev);
int
ep_enable
(
struct
wr_endpoint_device
*
dev
,
int
enabled
,
int
autoneg
);
int
ep_link_up
(
struct
wr_endpoint_device
*
dev
,
uint16_t
*
lpa
);
int
ep_get_bitslide
(
struct
wr_endpoint_device
*
dev
);
int
ep_get_deltas
(
struct
wr_endpoint_device
*
dev
,
uint32_t
*
delta_tx
,
uint32_t
*
delta_rx
);
int
ep_get_deltas
(
struct
wr_endpoint_device
*
dev
,
int
*
delta_tx
,
int
*
delta_rx
);
int
ep_timestamper_cal_pulse
(
struct
wr_endpoint_device
*
dev
);
int
ep_sfp_enable
(
struct
wr_endpoint_device
*
dev
,
int
ena
);
...
...
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