projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d295db
)
bnx2x: Set LED in loopback test
author
Eilon Greenstein
<eilong@broadcom.com>
Tue, 21 Jul 2009 05:47:49 +0000
(
05:47
+0000)
committer
David S. Miller
<davem@davemloft.net>
Tue, 21 Jul 2009 18:18:31 +0000
(11:18 -0700)
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x_link.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/bnx2x_link.c
b/drivers/net/bnx2x_link.c
index b9c85a21457dfa15edf09a6168cb66ec6230e957..a24bc51c98551009080ed0698682c242c6212172 100644
(file)
--- 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)
}
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 */
{