projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad33ea3
)
bnx2x: Flow control updated before reporting the link
author
Eilon Greenstein
<eilong@broadcom.com>
Thu, 15 Jan 2009 05:25:31 +0000
(21:25 -0800)
committer
David S. Miller
<davem@davemloft.net>
Thu, 15 Jan 2009 16:28:12 +0000
(08:28 -0800)
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x_main.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/bnx2x_main.c
b/drivers/net/bnx2x_main.c
index 9b1555820f520f9932b93245004734e201abb1e2..4f1ee1f2968c2cefa6fe2b07576ff55fb1144056 100644
(file)
--- a/
drivers/net/bnx2x_main.c
+++ b/
drivers/net/bnx2x_main.c
@@
-1970,10
+1970,11
@@
static u8 bnx2x_initial_phy_init(struct bnx2x *bp)
rc = bnx2x_phy_init(&bp->link_params, &bp->link_vars);
bnx2x_release_phy_lock(bp);
+ bnx2x_calc_fc_adv(bp);
+
if (bp->link_vars.link_up)
bnx2x_link_report(bp);
- bnx2x_calc_fc_adv(bp);
return rc;
}