diff options
author | Eilon Greenstein <eilong@broadcom.com> | 2009-02-12 03:38:30 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-16 02:31:57 -0500 |
commit | f53722514242da8346cbed2223bcea9eed744ebd (patch) | |
tree | fd2e9b7842c29427b57ba5266d63b3cf8386c197 /drivers/net/bnx2x_link.c | |
parent | 9898f86d3927bf3526aef433c8ced0b51178c35c (diff) |
bnx2x: Comments and prints
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2x_link.c')
-rw-r--r-- | drivers/net/bnx2x_link.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/bnx2x_link.c b/drivers/net/bnx2x_link.c index 5a17c7c90286..e1a4e39fc0e3 100644 --- a/drivers/net/bnx2x_link.c +++ b/drivers/net/bnx2x_link.c | |||
@@ -4823,6 +4823,7 @@ u8 bnx2x_phy_init(struct link_params *params, struct link_vars *vars) | |||
4823 | return -EINVAL; | 4823 | return -EINVAL; |
4824 | break; | 4824 | break; |
4825 | } | 4825 | } |
4826 | DP(NETIF_MSG_LINK, "Phy address = 0x%x\n", params->phy_addr); | ||
4826 | 4827 | ||
4827 | bnx2x_link_initialize(params, vars); | 4828 | bnx2x_link_initialize(params, vars); |
4828 | msleep(30); | 4829 | msleep(30); |
@@ -5179,7 +5180,7 @@ static u8 bnx2x_8073_common_init_phy(struct bnx2x *bp, u32 shmem_base) | |||
5179 | 5180 | ||
5180 | /* PART3 - complete TX_POWER_DOWN process, and set GPIO2 back to low */ | 5181 | /* PART3 - complete TX_POWER_DOWN process, and set GPIO2 back to low */ |
5181 | for (port = PORT_MAX - 1; port >= PORT_0; port--) { | 5182 | for (port = PORT_MAX - 1; port >= PORT_0; port--) { |
5182 | /* Phase2 of POWER_DOWN_RESET*/ | 5183 | /* Phase2 of POWER_DOWN_RESET */ |
5183 | /* Release bit 10 (Release Tx power down) */ | 5184 | /* Release bit 10 (Release Tx power down) */ |
5184 | bnx2x_cl45_read(bp, port, | 5185 | bnx2x_cl45_read(bp, port, |
5185 | PORT_HW_CFG_XGXS_EXT_PHY_TYPE_BCM8073, | 5186 | PORT_HW_CFG_XGXS_EXT_PHY_TYPE_BCM8073, |
@@ -5258,7 +5259,7 @@ u8 bnx2x_common_init_phy(struct bnx2x *bp, u32 shmem_base) | |||
5258 | u8 rc = 0; | 5259 | u8 rc = 0; |
5259 | u32 ext_phy_type; | 5260 | u32 ext_phy_type; |
5260 | 5261 | ||
5261 | DP(NETIF_MSG_LINK, "bnx2x_common_init_phy\n"); | 5262 | DP(NETIF_MSG_LINK, "Begin common phy init\n"); |
5262 | 5263 | ||
5263 | /* Read the ext_phy_type for arbitrary port(0) */ | 5264 | /* Read the ext_phy_type for arbitrary port(0) */ |
5264 | ext_phy_type = XGXS_EXT_PHY_TYPE( | 5265 | ext_phy_type = XGXS_EXT_PHY_TYPE( |