Skip to content
Snippets Groups Projects
Commit f27f3b52 authored by David Dueck's avatar David Dueck Committed by Joe Hershberger
Browse files

phy: Use general phy code for smsc lan8720a

parent 3a530d1b
No related branches found
No related tags found
No related merge requests found
...@@ -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,
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment