summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorDavid Dueck <davidcdueck@googlemail.com>2013-11-05 17:23:03 +0100
committerJoe Hershberger <joe.hershberger@ni.com>2013-11-22 17:03:20 -0600
commitf27f3b5266d28b8d3e80e0e8f4cafdd14268b62a (patch)
tree31ded43fa000b0cd5f212e9d3d2d30f2784f1f39 /drivers/net
parent3a530d1b3e947c09e882dda8883aa608458a598c (diff)
downloadu-boot-imx-f27f3b5266d28b8d3e80e0e8f4cafdd14268b62a.zip
u-boot-imx-f27f3b5266d28b8d3e80e0e8f4cafdd14268b62a.tar.gz
u-boot-imx-f27f3b5266d28b8d3e80e0e8f4cafdd14268b62a.tar.bz2
phy: Use general phy code for smsc lan8720a
Signed-off-by: David Dueck <davidcdueck@googlemail.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/phy/smsc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/phy/smsc.c b/drivers/net/phy/smsc.c
index 60ed92d..bfd9815 100644
--- a/drivers/net/phy/smsc.c
+++ b/drivers/net/phy/smsc.c
@@ -12,6 +12,7 @@
*/
#include <miiphy.h>
+/* This code does not check the partner abilities. */
static int smsc_parse_status(struct phy_device *phydev)
{
int mii_reg;
@@ -64,7 +65,7 @@ static struct phy_driver lan8710_driver = {
.mask = 0xffff0,
.features = PHY_BASIC_FEATURES,
.config = &genphy_config_aneg,
- .startup = &smsc_startup,
+ .startup = &genphy_startup,
.shutdown = &genphy_shutdown,
};