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
d366d49c
Commit
d366d49c
authored
Nov 22, 2019
by
Grzegorz Daniluk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
potential fix to lpdc hangs
parent
ada1d2ad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
hal_port_fsm_rx.c
userspace/wrsw_hal/hal_port_fsm_rx.c
+1
-1
No files found.
userspace/wrsw_hal/hal_port_fsm_rx.c
View file @
d366d49c
...
...
@@ -315,7 +315,7 @@ static int _hal_port_rx_setup_state_restart(fsm_t *fsm, int eventMsk, int isNewS
if
(
isNewState
)
{
// This timer is used to leave enough time to the FSM in the other side to detect a link down
libwr_tmo_restart
(
&
ps
->
lpdc
.
rxSetup
->
restart_timeout
);
pcs_writel
(
ps
,
MDIO_LPC_CTRL_DMTD_SOURCE_TXOUTCLK
,
pcs_writel
(
ps
,
MDIO_LPC_CTRL_
TX_ENABLE
|
MDIO_LPC_CTRL_
DMTD_SOURCE_TXOUTCLK
,
MDIO_LPC_CTRL
);
}
else
{
if
(
libwr_tmo_expired
(
&
ps
->
lpdc
.
rxSetup
->
restart_timeout
)
)
{
...
...
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