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:
7cde1c8
)
bnx2x: Missing rmb when waiting for FW response
author
Eilon Greenstein
<eilong@broadcom.com>
Thu, 22 Jan 2009 06:01:29 +0000
(06:01 +0000)
committer
David S. Miller
<davem@davemloft.net>
Thu, 22 Jan 2009 21:47:12 +0000
(13:47 -0800)
Waiting for the FW to response requires a memory barrier
Signed-off-by: Michal Kalderon <michals@broadcom.com>
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 71fbf2dbda3b816258fcd4d80bdfbdd897cf3bab..f71b8a5872b319c8c1d9ed574b023d3815e96eb3 100644
(file)
--- a/
drivers/net/bnx2x_main.c
+++ b/
drivers/net/bnx2x_main.c
@@
-6622,6
+6622,7
@@
static int bnx2x_stop_leading(struct bnx2x *bp)
}
cnt--;
msleep(1);
+ rmb(); /* Refresh the dsb_sp_prod */
}
bp->state = BNX2X_STATE_CLOSING_WAIT4_UNLOAD;
bp->fp[0].state = BNX2X_FP_STATE_CLOSED;