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
83
Issues
83
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
98ef120e
Commit
98ef120e
authored
May 10, 2016
by
Adam Wujek
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
userspace/libwr: rename network interfaces in i2c part of libwr
Signed-off-by:
Adam Wujek
<
adam.wujek@cern.ch
>
parent
2d4b75b1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
i2c_sfp.c
userspace/libwr/i2c_sfp.c
+2
-2
No files found.
userspace/libwr/i2c_sfp.c
View file @
98ef120e
...
...
@@ -537,13 +537,13 @@ int shw_sfp_read_header(int num, struct shw_sfp_header *head)
int
ret
;
if
(
shw_sfp_id
(
num
)
<
0
)
{
pr_error
(
"shw_sfp_read_header: wrong SFP num %d
\n
"
,
num
);
pr_error
(
"shw_sfp_read_header: wrong SFP num %d
\n
"
,
num
+
1
);
return
-
1
;
}
ret
=
shw_sfp_module_scan
();
if
(
!
(
ret
&
(
1
<<
num
)))
{
pr_error
(
"shw_sfp_read_header: SFP not present %d
\n
"
,
num
);
pr_error
(
"shw_sfp_read_header: SFP not present %d
\n
"
,
num
+
1
);
return
-
2
;
}
...
...
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