All of lore.kernel.org
 help / color / mirror / Atom feed
* [net-next PATCH] bnx2x: Fix link problem with some DACs
@ 2010-06-13 11:43 Yaniv Rosner
  2010-06-13 21:27 ` Krzysztof Olędzki
  0 siblings, 1 reply; 11+ messages in thread
From: Yaniv Rosner @ 2010-06-13 11:43 UTC (permalink / raw)
  To: davem; +Cc: netdev

Change 2wire transfer rate of SFP+ module EEPROM from 400Khz to 100Khz since some DACs(direct attached cables) do not work at 400Khz.

Reported-by: Krzysztof Oldzki <ole@ans.pl>
Signed-off-by: Yaniv Rosner <yanivr@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
---
diff --git a/drivers/net/bnx2x_link.c b/drivers/net/bnx2x_link.c
index a22a7e0..9b15b64 100644
--- a/drivers/net/bnx2x_link.c
+++ b/drivers/net/bnx2x_link.c
@@ -4274,7 +4274,7 @@ static u8 bnx2x_ext_phy_init(struct link_params *params, struct link_vars *vars)
 				       ext_phy_addr,
 				       MDIO_PMA_DEVAD,
 				       MDIO_PMA_REG_8727_TWO_WIRE_SLAVE_ADDR,
-				       0xa001);
+				       0xa101);
 
 			/* Set TX PreEmphasis if needed */
 			if ((params->feature_config_flags &




^ permalink raw reply related	[flat|nested] 11+ messages in thread
* [net-next PATCH] bnx2x: Fix link problem with some DACs
@ 2010-06-14 10:26 Yaniv Rosner
  2010-06-14  8:49 ` Simon Horman
  2010-06-15  6:07 ` David Miller
  0 siblings, 2 replies; 11+ messages in thread
From: Yaniv Rosner @ 2010-06-14 10:26 UTC (permalink / raw)
  To: davem; +Cc: netdev

Change 2wire transfer rate of SFP+ module EEPROM from 400Khz to 100Khz since some DACs(direct attached cables) do not work at 400Khz.

Reported-by: Krzysztof Oldzki <ole@ans.pl>
Signed-off-by: Yaniv Rosner <yanivr@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
---
diff --git a/drivers/net/bnx2x_link.c b/drivers/net/bnx2x_link.c
index ff70be8..600bc44 100644
--- a/drivers/net/bnx2x_link.c
+++ b/drivers/net/bnx2x_link.c
@@ -4266,14 +4266,15 @@ static u8 bnx2x_ext_phy_init(struct link_params *params, struct link_vars *vars)
 					       MDIO_PMA_REG_10G_CTRL2, 0x0008);
 			}
 
-			/* Set 2-wire transfer rate to 400Khz since 100Khz
-			is not operational */
+			/* Set 2-wire transfer rate of SFP+ module EEPROM
+			to 100Khz since some DACs(direct attached cables) do
+			not work at 400Khz.*/
 			bnx2x_cl45_write(bp, params->port,
 				       ext_phy_type,
 				       ext_phy_addr,
 				       MDIO_PMA_DEVAD,
 				       MDIO_PMA_REG_8727_TWO_WIRE_SLAVE_ADDR,
-				       0xa101);
+				       0xa001);
 
 			/* Set TX PreEmphasis if needed */
 			if ((params->feature_config_flags &




^ permalink raw reply related	[flat|nested] 11+ messages in thread
* [net-next PATCH] bnx2x: Fix link problem with some DACs
@ 2010-06-15  8:22 Yaniv Rosner
  2010-06-15  6:25 ` David Miller
  0 siblings, 1 reply; 11+ messages in thread
From: Yaniv Rosner @ 2010-06-15  8:22 UTC (permalink / raw)
  To: davem; +Cc: netdev, ole, eilong

Change 2wire transfer rate of SFP+ module EEPROM from 400Khz to 100Khz since some DACs(direct attached cables) do not work at 400Khz.

Reported-by: Krzysztof Oldzki <ole@ans.pl>
Signed-off-by: Yaniv Rosner <yanivr@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
---
diff --git a/drivers/net/bnx2x_link.c b/drivers/net/bnx2x_link.c
index ff70be8..0383e30 100644
--- a/drivers/net/bnx2x_link.c
+++ b/drivers/net/bnx2x_link.c
@@ -4266,14 +4266,16 @@ static u8 bnx2x_ext_phy_init(struct link_params *params, struct link_vars *vars)
 					       MDIO_PMA_REG_10G_CTRL2, 0x0008);
 			}
 
-			/* Set 2-wire transfer rate to 400Khz since 100Khz
-			is not operational */
+			/* Set 2-wire transfer rate of SFP+ module EEPROM
+			 * to 100Khz since some DACs(direct attached cables) do
+			 * not work at 400Khz.
+			 */
 			bnx2x_cl45_write(bp, params->port,
 				       ext_phy_type,
 				       ext_phy_addr,
 				       MDIO_PMA_DEVAD,
 				       MDIO_PMA_REG_8727_TWO_WIRE_SLAVE_ADDR,
-				       0xa101);
+				       0xa001);
 
 			/* Set TX PreEmphasis if needed */
 			if ((params->feature_config_flags &




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

end of thread, other threads:[~2010-06-15  6:25 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-13 11:43 [net-next PATCH] bnx2x: Fix link problem with some DACs Yaniv Rosner
2010-06-13 21:27 ` Krzysztof Olędzki
2010-06-14  0:52   ` David Miller
  -- strict thread matches above, loose matches on Subject: below --
2010-06-14 10:26 Yaniv Rosner
2010-06-14  8:49 ` Simon Horman
2010-06-14  9:04   ` Yaniv Rosner
2010-06-14  9:18     ` Simon Horman
2010-06-15  6:07 ` David Miller
2010-06-15  6:12   ` Yaniv Rosner
2010-06-15  8:22 Yaniv Rosner
2010-06-15  6:25 ` David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.