Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
net-tools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
net-tools
Commits
038ed39a
Commit
038ed39a
authored
Apr 01, 2014
by
Catalin Patulea
Committed by
Bernd Eckenfels
Apr 26, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mii-tool: apply -p to -w
Signed-off-by:
Catalin Patulea
<
cat@vv.carleton.ca
>
parent
68a4d784
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
mii-tool.c
mii-tool.c
+3
-0
No files found.
mii-tool.c
View file @
038ed39a
...
...
@@ -442,6 +442,9 @@ static void watch_one_xcvr(int skfd, char *ifname, int index)
ifname
,
strerror
(
errno
));
return
;
}
if
(
override_phy
>=
0
)
{
mii
->
phy_id
=
override_phy
;
}
now
=
(
mdio_read
(
skfd
,
MII_BMCR
)
|
(
mdio_read
(
skfd
,
MII_BMSR
)
<<
16
));
if
(
status
[
index
]
&&
(
status
[
index
]
!=
now
))
...
...
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