diff options
author | Yaniv Rosner <yanivr@broadcom.com> | 2011-05-31 21:28:43 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-06-01 13:10:57 -0700 |
commit | 020c7e3f3cd38d41104c7f55d3d5732c5ac939be (patch) | |
tree | 1d9cbc811c8310fe2a909df3ba6740334afceadc /drivers/net/bnx2x/bnx2x_hsi.h | |
parent | 9045f6b44a01737a84c5bb79f580dccce6806d80 (diff) | |
download | op-kernel-dev-020c7e3f3cd38d41104c7f55d3d5732c5ac939be.zip op-kernel-dev-020c7e3f3cd38d41104c7f55d3d5732c5ac939be.tar.gz |
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.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/bnx2x/bnx2x_hsi.h b/drivers/net/bnx2x/bnx2x_hsi.h index 5bfdbcc..c308a48 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 |