From: Fabio Estevam <fabio.estevam@freescale.com>
Date: Fri, 7 Jun 2013 00:04:19 +0000 (-0300)
Subject: phy: smsc: LAN8710/8720 are not Gbit PHYs
X-Git-Tag: v2025.01-rc5-pxa1908~15971
X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=25634210af785e36cf73a5e9a103c8cac5d84a26;p=u-boot.git

phy: smsc: LAN8710/8720 are not Gbit PHYs

LAN8710/8720 are 10/100 Mbps PHYs, so fix the '.features' field.

Cc: Joe Hershberger <joe.hershberger@ni.com>
Cc: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---

diff --git a/drivers/net/phy/smsc.c b/drivers/net/phy/smsc.c
index f64eb8fe04..5936f9bd7f 100644
--- a/drivers/net/phy/smsc.c
+++ b/drivers/net/phy/smsc.c
@@ -62,7 +62,7 @@ static struct phy_driver lan8710_driver = {
 	.name = "SMSC LAN8710/LAN8720",
 	.uid = 0x0007c0f0,
 	.mask = 0xffff0,
-	.features = PHY_GBIT_FEATURES,
+	.features = PHY_BASIC_FEATURES,
 	.config = &genphy_config_aneg,
 	.startup = &smsc_startup,
 	.shutdown = &genphy_shutdown,