Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci-2.6.23
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci-2.6.23
Commits
b962697b
Commit
b962697b
authored
Mar 11, 2006
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'e1000-upstream' of
git://198.78.49.142/linux-2.6
parents
749dfc70
cb764326
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
drivers/net/e1000/e1000_main.c
drivers/net/e1000/e1000_main.c
+3
-3
No files found.
drivers/net/e1000/e1000_main.c
View file @
b962697b
...
...
@@ -4171,7 +4171,7 @@ e1000_mii_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd)
spin_unlock_irqrestore
(
&
adapter
->
stats_lock
,
flags
);
return
-
EIO
;
}
if
(
adapter
->
hw
.
phy_type
==
e1000_
phy_m88
)
{
if
(
adapter
->
hw
.
phy_type
==
e1000_
media_type_copper
)
{
switch
(
data
->
reg_num
)
{
case
PHY_CTRL
:
if
(
mii_reg
&
MII_CR_POWER_DOWN
)
...
...
@@ -4187,8 +4187,8 @@ e1000_mii_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd)
else
spddplx
=
SPEED_10
;
spddplx
+=
(
mii_reg
&
0x100
)
?
FULL_DUPLEX
:
HALF_DUPLEX
;
?
DUPLEX_FULL
:
DUPLEX_HALF
;
retval
=
e1000_set_spd_dplx
(
adapter
,
spddplx
);
if
(
retval
)
{
...
...
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