summaryrefslogtreecommitdiff
path: root/drivers/net/bnx2x/bnx2x_hsi.h
diff options
context:
space:
mode:
authorYaniv Rosner <yanivr@broadcom.com>2011-06-01 01:28:43 +0400
committerDavid S. Miller <davem@davemloft.net>2011-06-02 00:10:57 +0400
commit020c7e3f3cd38d41104c7f55d3d5732c5ac939be (patch)
tree1d9cbc811c8310fe2a909df3ba6740334afceadc /drivers/net/bnx2x/bnx2x_hsi.h
parent9045f6b44a01737a84c5bb79f580dccce6806d80 (diff)
downloadlinux-020c7e3f3cd38d41104c7f55d3d5732c5ac939be.tar.xz
bnx2x: Adjust BCM8726 module detection settings
Move BCM8726 module detection code into a separate function to be called only once during initialization. Signed-off-by: Yaniv Rosner <yanivr@broadcom.com> Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2x/bnx2x_hsi.h')
-rw-r--r--drivers/net/bnx2x/bnx2x_hsi.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/bnx2x/bnx2x_hsi.h b/drivers/net/bnx2x/bnx2x_hsi.h
index 5bfdbcc94a7c..c308a48c8f4b 100644
--- a/drivers/net/bnx2x/bnx2x_hsi.h
+++ b/drivers/net/bnx2x/bnx2x_hsi.h
@@ -263,7 +263,10 @@ struct port_hw_cfg { /* port 0: 0x12c port 1: 0x2bc */
#define PORT_HW_CFG_FAULT_MODULE_LED_GPIO2 0x00000200
#define PORT_HW_CFG_FAULT_MODULE_LED_GPIO3 0x00000300
#define PORT_HW_CFG_FAULT_MODULE_LED_DISABLED 0x00000400
- u32 Reserved01[11]; /* 0x158 */
+
+ u32 Reserved01[10]; /* 0x158 */
+
+ u32 aeu_int_mask; /* 0x190 */
u32 media_type; /* 0x194 */
#define PORT_HW_CFG_MEDIA_TYPE_PHY0_MASK 0x000000FF