1 From 5650d9d4cbf3898d3f9725ccad5dfca6bc086324 Mon Sep 17 00:00:00 2001
2 From: Eilon Greenstein <eilong@broadcom.com>
3 Date: Thu, 22 Jan 2009 06:01:29 +0000
4 Subject: bnx2x: Missing rmb when waiting for FW response
5 Acked-by: Karsten Keil <kkeil@novell.com>
8 Waiting for the FW to response requires a memory barrier
10 Signed-off-by: Michal Kalderon <michals@broadcom.com>
11 Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
12 Signed-off-by: David S. Miller <davem@davemloft.net>
14 drivers/net/bnx2x_main.c | 1 +
15 1 files changed, 1 insertions(+), 0 deletions(-)
17 Index: linux-2.6.27-bnx2x_2/drivers/net/bnx2x_main.c
18 ===================================================================
19 --- linux-2.6.27-bnx2x_2.orig/drivers/net/bnx2x_main.c
20 +++ linux-2.6.27-bnx2x_2/drivers/net/bnx2x_main.c
21 @@ -6625,6 +6625,7 @@ static int bnx2x_stop_leading(struct bnx
25 + rmb(); /* Refresh the dsb_sp_prod */
27 bp->state = BNX2X_STATE_CLOSING_WAIT4_UNLOAD;
28 bp->fp[0].state = BNX2X_FP_STATE_CLOSED;