Skip to contentSkip to conversation

bnx2x: Fix BCM84833 initialization

PATCH In review Yaniv Rosner 1 participant 1 message Jul 5, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 6/8 bnx2x: Fix BCM84833 initialization

---
 drivers/net/bnx2x/bnx2x_hsi.h  |    8 ++++++-
 drivers/net/bnx2x/bnx2x_link.c |   45 +++++++++++++++++++++++++++++----------
 2 files changed, 40 insertions(+), 13 deletions(-)
drivers/net/bnx2x/bnx2x_hsi.h +7 -1
index 52c190f..0692d75 100644
@@ -538,7 +538,13 @@ struct port_hw_cfg {		    /* port 0: 0x12c  port 1: 0x2bc */
 	u32 fcoe_wwn_node_name_upper;
 	u32 fcoe_wwn_node_name_lower;
 
-	u32 Reserved1[50];					/* 0x1C0 */
+	u32 Reserved1[49];				    /* 0x1C0 */
+
+	/*  Enable RJ45 magjack pair swapping on 10GBase-T PHY (0=default),
+	      84833 only */
+	u32 xgbt_phy_cfg;				    /* 0x284 */
+	#define PORT_HW_CFG_RJ45_PAIR_SWAP_MASK             0x000000FF
+	#define PORT_HW_CFG_RJ45_PAIR_SWAP_SHIFT                     0
 
 		u32 default_cfg;			    /* 0x288 */
 	#define PORT_HW_CFG_GPIO0_CONFIG_MASK               0x00000003
drivers/net/bnx2x/bnx2x_link.c +33 -12

87 lines not on this page · raw message

Signature · 1 line
1.7.1