diff options
author | Eilon Greenstein <eilong@broadcom.com> | 2009-07-21 01:47:49 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-07-21 14:18:31 -0400 |
commit | ba71d3134176b9791aab7cb78242b6ba1428aac8 (patch) | |
tree | fd0bc188bfca4190d78dd2fee939958ab8a68507 /drivers/net/bnx2x_link.c | |
parent | 4d295db0efd2ccf06edb7a45ad885b40c56b7161 (diff) |
bnx2x: Set LED in loopback test
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, 5 insertions, 0 deletions
diff --git a/drivers/net/bnx2x_link.c b/drivers/net/bnx2x_link.c index b9c85a21457d..a24bc51c9855 100644 --- a/drivers/net/bnx2x_link.c +++ b/drivers/net/bnx2x_link.c | |||
@@ -5494,6 +5494,11 @@ u8 bnx2x_phy_init(struct link_params *params, struct link_vars *vars) | |||
5494 | } | 5494 | } |
5495 | REG_WR(bp, NIG_REG_EGRESS_DRAIN0_MODE + | 5495 | REG_WR(bp, NIG_REG_EGRESS_DRAIN0_MODE + |
5496 | params->port*4, 0); | 5496 | params->port*4, 0); |
5497 | |||
5498 | bnx2x_set_led(bp, params->port, LED_MODE_OPER, | ||
5499 | vars->line_speed, params->hw_led_mode, | ||
5500 | params->chip_id); | ||
5501 | |||
5497 | } else | 5502 | } else |
5498 | /* No loopback */ | 5503 | /* No loopback */ |
5499 | { | 5504 | { |