bnx2x: Set LED in loopback test
Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
4d295db0ef
commit
ba71d31341
1 changed files with 5 additions and 0 deletions
|
@ -5494,6 +5494,11 @@ u8 bnx2x_phy_init(struct link_params *params, struct link_vars *vars)
|
|||
}
|
||||
REG_WR(bp, NIG_REG_EGRESS_DRAIN0_MODE +
|
||||
params->port*4, 0);
|
||||
|
||||
bnx2x_set_led(bp, params->port, LED_MODE_OPER,
|
||||
vars->line_speed, params->hw_led_mode,
|
||||
params->chip_id);
|
||||
|
||||
} else
|
||||
/* No loopback */
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue