Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
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
nexedi
linux
Commits
eca66b43
Commit
eca66b43
authored
Oct 23, 2002
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Plain Diff
Merge
http://suncobalt.bkbits.net/net-drivers-2.5
into redhat.com:/home/jgarzik/repo/net-drivers-2.5
parents
40bc0746
2a43f6ff
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
drivers/net/eepro100.c
drivers/net/eepro100.c
+3
-1
drivers/net/mii.c
drivers/net/mii.c
+2
-2
No files found.
drivers/net/eepro100.c
View file @
eca66b43
...
...
@@ -849,7 +849,9 @@ static int __devinit speedo_found1(struct pci_dev *pdev,
sp
->
phy
[
0
]
=
eeprom
[
6
];
sp
->
phy
[
1
]
=
eeprom
[
7
];
sp
->
mii_if
.
phy_id
=
eeprom
[
6
];
sp
->
mii_if
.
phy_id
=
eeprom
[
6
]
&
0x1f
;
sp
->
mii_if
.
phy_id_mask
=
0x1f
;
sp
->
mii_if
.
reg_num_mask
=
0x1f
;
sp
->
mii_if
.
dev
=
dev
;
sp
->
mii_if
.
mdio_read
=
mdio_read
;
sp
->
mii_if
.
mdio_write
=
mdio_write
;
...
...
drivers/net/mii.c
View file @
eca66b43
...
...
@@ -299,9 +299,9 @@ int generic_mii_ioctl(struct mii_if_info *mii_if,
case
MII_BMCR
:
{
unsigned
int
new_duplex
=
0
;
if
(
val
&
(
BMCR_RESET
|
BMCR_ANENABLE
))
mii_if
->
force_media
=
1
;
else
mii_if
->
force_media
=
0
;
else
mii_if
->
force_media
=
1
;
if
(
mii_if
->
force_media
&&
(
val
&
BMCR_FULLDPLX
))
new_duplex
=
1
;
...
...
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