netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] r6040: Fix second PHY address
@ 2009-03-25  9:34 Florian Fainelli
  2009-03-26  0:19 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Florian Fainelli @ 2009-03-25  9:34 UTC (permalink / raw)
  To: David Miller, netdev

This patch fixes the second PHY address which is strapped
to be at PHY address 3 instead of 2.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
---
diff --git a/drivers/net/r6040.c b/drivers/net/r6040.c
index 9c95ebe..d3458ef 100644
--- a/drivers/net/r6040.c
+++ b/drivers/net/r6040.c
@@ -54,7 +54,7 @@
 
 /* PHY CHIP Address */
 #define PHY1_ADDR	1	/* For MAC1 */
-#define PHY2_ADDR	2	/* For MAC2 */
+#define PHY2_ADDR	3	/* For MAC2 */
 #define PHY_MODE	0x3100	/* PHY CHIP Register 0 */
 #define PHY_CAP		0x01E1	/* PHY CHIP Register 4 */
 

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

* Re: [PATCH 1/2] r6040: Fix second PHY address
  2009-03-25  9:34 [PATCH 1/2] r6040: Fix second PHY address Florian Fainelli
@ 2009-03-26  0:19 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2009-03-26  0:19 UTC (permalink / raw)
  To: florian; +Cc: netdev

From: Florian Fainelli <florian@openwrt.org>
Date: Wed, 25 Mar 2009 10:34:35 +0100

> This patch fixes the second PHY address which is strapped
> to be at PHY address 3 instead of 2.
> 
> Signed-off-by: Florian Fainelli <florian@openwrt.org>

Applied.

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

end of thread, other threads:[~2009-03-26  0:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-25  9:34 [PATCH 1/2] r6040: Fix second PHY address Florian Fainelli
2009-03-26  0:19 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).