Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uboot-i9100
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
onny
uboot-i9100
Commits
f27f3b52
Commit
f27f3b52
authored
11 years ago
by
David Dueck
Committed by
Joe Hershberger
11 years ago
Browse files
Options
Downloads
Patches
Plain Diff
phy: Use general phy code for smsc lan8720a
Signed-off-by:
David Dueck
<
davidcdueck@googlemail.com
>
parent
3a530d1b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
drivers/net/phy/smsc.c
+2
-1
2 additions, 1 deletion
drivers/net/phy/smsc.c
with
2 additions
and
1 deletion
drivers/net/phy/smsc.c
+
2
−
1
View file @
f27f3b52
...
@@ -12,6 +12,7 @@
...
@@ -12,6 +12,7 @@
*/
*/
#include
<miiphy.h>
#include
<miiphy.h>
/* This code does not check the partner abilities. */
static
int
smsc_parse_status
(
struct
phy_device
*
phydev
)
static
int
smsc_parse_status
(
struct
phy_device
*
phydev
)
{
{
int
mii_reg
;
int
mii_reg
;
...
@@ -64,7 +65,7 @@ static struct phy_driver lan8710_driver = {
...
@@ -64,7 +65,7 @@ static struct phy_driver lan8710_driver = {
.
mask
=
0xffff0
,
.
mask
=
0xffff0
,
.
features
=
PHY_BASIC_FEATURES
,
.
features
=
PHY_BASIC_FEATURES
,
.
config
=
&
genphy_config_aneg
,
.
config
=
&
genphy_config_aneg
,
.
startup
=
&
smsc
_startup
,
.
startup
=
&
genphy
_startup
,
.
shutdown
=
&
genphy_shutdown
,
.
shutdown
=
&
genphy_shutdown
,
};
};
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment