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
72c4338d
Commit
72c4338d
authored
Jan 22, 2012
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel modules: rename interfaces to wr%d
parent
a9bab2bf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
endpoint.c
kernel/wr_nic/endpoint.c
+1
-7
No files found.
kernel/wr_nic/endpoint.c
View file @
72c4338d
...
...
@@ -192,12 +192,6 @@ int wrn_endpoint_probe(struct net_device *dev)
epnum
=
ep
->
ep_number
;
/* Build the device name */
if
(
epnum
<
2
)
dev_alloc_name
(
dev
,
"wru%d"
);
else
dev_alloc_name
(
dev
,
"wrd%d"
);
/* Check whether the ep has been sinthetized or not */
val
=
readl
(
&
ep
->
ep_regs
->
IDCODE
);
if
(
val
!=
WRN_EP_MAGIC
)
{
...
...
@@ -205,9 +199,9 @@ int wrn_endpoint_probe(struct net_device *dev)
ep
->
ep_number
,
dev
->
name
);
return
-
ENODEV
;
}
/* Errors different from -ENODEV are fatal to insmod */
dev_alloc_name
(
dev
,
"wr%d"
);
wrn_netops_init
(
dev
);
/* function in ./nic-core.c */
wrn_ethtool_init
(
dev
);
/* function in ./ethtool.c */
/* Napi is not supported on this device */
...
...
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