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
7
Merge Requests
7
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
ad101252
Commit
ad101252
authored
Feb 19, 2024
by
Tristan Gingold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
endpoint: remove unused function
parent
cfe37715
Pipeline
#5138
passed with stage
in 3 minutes and 43 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
9 deletions
+0
-9
endpoint.c
dev/endpoint.c
+0
-8
endpoint.h
include/dev/endpoint.h
+0
-1
No files found.
dev/endpoint.c
View file @
ad101252
...
...
@@ -179,14 +179,6 @@ int ep_get_bitslide(struct wr_endpoint_device* dev)
((
ep_pcs_read
(
dev
,
EP_MDIO_WR_SPEC
)
&
EP_MDIO_WR_SPEC_BSLIDE_MASK
)
>>
EP_MDIO_WR_SPEC_BSLIDE_SHIFT
);
}
/* Returns the TX/RX latencies. They are valid only when the link is up. */
int
ep_get_deltas
(
struct
wr_endpoint_device
*
dev
,
int
*
delta_tx
,
int
*
delta_rx
)
{
/* fixme: RX/TX delays related to HW (except SFP) should be stored in
* calibration block in the EEPROM on the FMC. */
return
0
;
}
int
ep_timestamper_cal_pulse
(
struct
wr_endpoint_device
*
dev
)
{
ep_write
(
dev
,
EP_REG_TSCR
,
ep_read
(
dev
,
EP_REG_TSCR
)
|
EP_TSCR_RX_CAL_START
);
...
...
include/dev/endpoint.h
View file @
ad101252
...
...
@@ -46,7 +46,6 @@ 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
,
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