diff options
author | Yaniv Rosner <yanivr@broadcom.com> | 2009-11-05 12:18:10 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-05 23:00:32 -0500 |
commit | d5cb9e997708bd48d2ed3dd926dad7a6fc83bf56 (patch) | |
tree | fb6617c40f2bc8184fd02ff498497c6babc5dcf9 /drivers/net/bnx2x_link.c | |
parent | 7846e471b5b5cac5e09c8e6ebeb67e18279db8e3 (diff) |
bnx2x: Miscellaneous debug print and tabs
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_link.c')
-rw-r--r-- | drivers/net/bnx2x_link.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/bnx2x_link.c b/drivers/net/bnx2x_link.c index eabdd1155a5a..bf1021ed5dd6 100644 --- a/drivers/net/bnx2x_link.c +++ b/drivers/net/bnx2x_link.c | |||
@@ -1350,6 +1350,7 @@ static void bnx2x_set_brcm_cl37_advertisment(struct link_params *params) | |||
1350 | 1350 | ||
1351 | static void bnx2x_calc_ieee_aneg_adv(struct link_params *params, u16 *ieee_fc) | 1351 | static void bnx2x_calc_ieee_aneg_adv(struct link_params *params, u16 *ieee_fc) |
1352 | { | 1352 | { |
1353 | struct bnx2x *bp = params->bp; | ||
1353 | *ieee_fc = MDIO_COMBO_IEEE0_AUTO_NEG_ADV_FULL_DUPLEX; | 1354 | *ieee_fc = MDIO_COMBO_IEEE0_AUTO_NEG_ADV_FULL_DUPLEX; |
1354 | /* resolve pause mode and advertisement | 1355 | /* resolve pause mode and advertisement |
1355 | * Please refer to Table 28B-3 of the 802.3ab-1999 spec */ | 1356 | * Please refer to Table 28B-3 of the 802.3ab-1999 spec */ |
@@ -1379,6 +1380,7 @@ static void bnx2x_calc_ieee_aneg_adv(struct link_params *params, u16 *ieee_fc) | |||
1379 | *ieee_fc |= MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_NONE; | 1380 | *ieee_fc |= MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_NONE; |
1380 | break; | 1381 | break; |
1381 | } | 1382 | } |
1383 | DP(NETIF_MSG_LINK, "ieee_fc = 0x%x\n", *ieee_fc); | ||
1382 | } | 1384 | } |
1383 | 1385 | ||
1384 | static void bnx2x_set_ieee_aneg_advertisment(struct link_params *params, | 1386 | static void bnx2x_set_ieee_aneg_advertisment(struct link_params *params, |
@@ -6143,7 +6145,7 @@ u8 bnx2x_link_reset(struct link_params *params, struct link_vars *vars, | |||
6143 | offsetof(struct shmem_region, dev_info. | 6145 | offsetof(struct shmem_region, dev_info. |
6144 | port_feature_config[params->port]. | 6146 | port_feature_config[params->port]. |
6145 | config)); | 6147 | config)); |
6146 | 6148 | DP(NETIF_MSG_LINK, "Resetting the link of port %d\n", port); | |
6147 | /* disable attentions */ | 6149 | /* disable attentions */ |
6148 | vars->link_status = 0; | 6150 | vars->link_status = 0; |
6149 | bnx2x_update_mng(params, vars->link_status); | 6151 | bnx2x_update_mng(params, vars->link_status); |