From: Codrin Ciubotariu <codrin.ciubotariu@freescale.com>
Date: Wed, 26 Mar 2014 16:13:14 +0000 (+0200)
Subject: net/phy: Fix PHY id for VSC8514
X-Git-Tag: v2025.01-rc5-pxa1908~15374^2~46
X-Git-Url: http://git.dujemihanovic.xyz/posts?a=commitdiff_plain;h=44afbbc0f0733381fefa159cc14931d7f711356e;p=u-boot.git

net/phy: Fix PHY id for VSC8514

In the current Datasheet for VSC8514 there is a mistake, saying that
the PHY id is 0x70570. The real value in the identifier registers is
0x70670. Linux PHY driver uses 0x70670 also.

Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@freescale.com>
Cc: York Sun <yorksun@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
---

diff --git a/drivers/net/phy/vitesse.c b/drivers/net/phy/vitesse.c
index c555979661..3a55d271a5 100644
--- a/drivers/net/phy/vitesse.c
+++ b/drivers/net/phy/vitesse.c
@@ -296,7 +296,7 @@ static struct phy_driver VSC8574_driver = {
 
 static struct phy_driver VSC8514_driver = {
 	.name = "Vitesse VSC8514",
-	.uid = 0x70570,
+	.uid = 0x70670,
 	.mask = 0xffff0,
 	.features = PHY_GBIT_FEATURES,
 	.config = &vsc8514_config,