Re: [PATCH 1/2] r6040: Fix second PHY address

Previous thread: Re: network traffic stop with 2.6.29 after ftp put by Marco Berizzi on Wednesday, March 25, 2009 - 1:10 am. (2 messages)

Next thread: [PATCH 2/2] Bump release date to 25Mar2009 and version to 0.22 by Florian Fainelli on Wednesday, March 25, 2009 - 2:34 am. (2 messages)
From: Florian Fainelli
Date: Wednesday, March 25, 2009 - 2:34 am

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 */
 
--

From: David Miller
Date: Wednesday, March 25, 2009 - 5:19 pm

From: Florian Fainelli <florian@openwrt.org>

Applied.
--

Previous thread: Re: network traffic stop with 2.6.29 after ftp put by Marco Berizzi on Wednesday, March 25, 2009 - 1:10 am. (2 messages)

Next thread: [PATCH 2/2] Bump release date to 25Mar2009 and version to 0.22 by Florian Fainelli on Wednesday, March 25, 2009 - 2:34 am. (2 messages)