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
Kirill Smelkov
linux
Commits
a06704cd
Commit
a06704cd
authored
Mar 31, 2004
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[TG3]: Verify link advertisement correctly on 10/100 only chips.
parent
932e0450
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
drivers/net/tg3.c
drivers/net/tg3.c
+2
-1
No files found.
drivers/net/tg3.c
View file @
a06704cd
...
@@ -1366,7 +1366,8 @@ static int tg3_setup_copper_phy(struct tg3 *tp, int force_reset)
...
@@ -1366,7 +1366,8 @@ static int tg3_setup_copper_phy(struct tg3 *tp, int force_reset)
* low power mode.
* low power mode.
*/
*/
tg3_readphy
(
tp
,
MII_TG3_CTRL
,
&
gig_ctrl
);
tg3_readphy
(
tp
,
MII_TG3_CTRL
,
&
gig_ctrl
);
if
(
!
(
gig_ctrl
&
(
MII_TG3_CTRL_ADV_1000_HALF
|
if
(
!
(
tp
->
tg3_flags
&
TG3_FLAG_10_100_ONLY
)
&&
!
(
gig_ctrl
&
(
MII_TG3_CTRL_ADV_1000_HALF
|
MII_TG3_CTRL_ADV_1000_FULL
)))
{
MII_TG3_CTRL_ADV_1000_FULL
)))
{
current_link_up
=
0
;
current_link_up
=
0
;
}
}
...
...
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