Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
wr-switch-sw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
white-rabbit
wr-switch-sw
Commits
10c2756c
Commit
10c2756c
authored
Sep 24, 2012
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel/wr_nic: don't write to DMCR (neither spec nor switch)
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
56568ea0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
endpoint.c
kernel/wr_nic/endpoint.c
+0
-6
No files found.
kernel/wr_nic/endpoint.c
View file @
10c2756c
...
...
@@ -201,12 +201,6 @@ int wrn_ep_open(struct net_device *dev)
|
EP_ECR_RX_EN
,
&
ep
->
ep_regs
->
ECR
);
/* Setup DMCR */
writel
(
0
|
EP_DMCR_EN
|
EP_DMCR_N_AVG_W
(
256
/* DMTD_AVG_SAMPLES */
),
&
ep
->
ep_regs
->
DMCR
);
wrn_phy_write
(
dev
,
0
,
MII_LPA
,
0
);
wrn_phy_write
(
dev
,
0
,
MII_BMCR
,
BMCR_ANENABLE
|
BMCR_ANRESTART
);
...
...
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