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
8518c8e0
Commit
8518c8e0
authored
Mar 07, 2019
by
Adam Wujek
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[squash] replace SFP_LED_WRMODE_OFF with SFP_LED_WRMODE_NO_LINK
Signed-off-by:
Adam Wujek
<
adam.wujek@cern.ch
>
parent
0c7f05e2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
hal_ports.c
userspace/wrsw_hal/hal_ports.c
+1
-1
No files found.
userspace/wrsw_hal/hal_ports.c
View file @
8518c8e0
...
...
@@ -1049,7 +1049,7 @@ int hal_port_reset(const char *port_name)
set_led_synced
(
p
->
hw_index
,
0
);
/* turn off link/wrmode LEDs */
set_led_wrmode
(
p
->
hw_index
,
SFP_LED_WRMODE_
OFF
);
set_led_wrmode
(
p
->
hw_index
,
SFP_LED_WRMODE_
NO_LINK
);
hal_port_reset_state
(
p
);
p
->
state
=
HAL_PORT_STATE_RESET
;
...
...
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