U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] net/phy: Correct AR8021 phy_mask
@ 2014-03-04  7:56 Haijun Zhang
  2014-03-07 22:28 ` [U-Boot] " Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Haijun Zhang @ 2014-03-04  7:56 UTC (permalink / raw)
  To: u-boot

There was wrong phy_mask for AR8021 device,
so the AR8021 can't be probed correctly.
Changed it from 0x4fffff to 0x4ffff0.

Signed-off-by: Haijun Zhang <Haijun.Zhang@freescale.com>
---
 drivers/net/phy/atheros.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/phy/atheros.c b/drivers/net/phy/atheros.c
index 5332e1a..b80980d 100644
--- a/drivers/net/phy/atheros.c
+++ b/drivers/net/phy/atheros.c
@@ -41,7 +41,7 @@ static int ar8035_config(struct phy_device *phydev)
 static struct phy_driver AR8021_driver =  {
 	.name = "AR8021",
 	.uid = 0x4dd040,
-	.mask = 0x4fffff,
+	.mask = 0x4ffff0,
 	.features = PHY_GBIT_FEATURES,
 	.config = ar8021_config,
 	.startup = genphy_startup,
-- 
1.8.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] net/phy: Correct AR8021 phy_mask
  2014-03-04  7:56 [U-Boot] [PATCH] net/phy: Correct AR8021 phy_mask Haijun Zhang
@ 2014-03-07 22:28 ` Tom Rini
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2014-03-07 22:28 UTC (permalink / raw)
  To: u-boot

On Tue, Mar 04, 2014 at 03:56:12PM +0800, Haijun.Zhang wrote:

> There was wrong phy_mask for AR8021 device,
> so the AR8021 can't be probed correctly.
> Changed it from 0x4fffff to 0x4ffff0.
> 
> Signed-off-by: Haijun Zhang <Haijun.Zhang@freescale.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140307/ae5ad8ef/attachment.pgp>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-03-07 22:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-04  7:56 [U-Boot] [PATCH] net/phy: Correct AR8021 phy_mask Haijun Zhang
2014-03-07 22:28 ` [U-Boot] " Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox