diff options
author | Eilon Greenstein <eilong@broadcom.com> | 2009-10-15 11:18:27 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-15 11:18:27 +0400 |
commit | c4ff7cbf88be8bb0e3f942089f0ef0a40d98d654 (patch) | |
tree | f0117805606dbf9acb4bc9488975a380a63751cc /drivers/net/bnx2x.h | |
parent | f34d28ea0174df63253dc20a95de0b48e3d8145a (diff) | |
download | linux-c4ff7cbf88be8bb0e3f942089f0ef0a40d98d654.tar.xz |
bnx2x: Adding FW mailbox mutex
DCC commands are not protected with the RTNL lock, so a mutex should be added
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2x.h')
-rw-r--r-- | drivers/net/bnx2x.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/bnx2x.h b/drivers/net/bnx2x.h index 185a6bab2227..c3b32f71e024 100644 --- a/drivers/net/bnx2x.h +++ b/drivers/net/bnx2x.h @@ -1023,6 +1023,9 @@ struct bnx2x { /* used to synchronize dmae accesses */ struct mutex dmae_mutex; + /* used to protect the FW mail box */ + struct mutex fw_mb_mutex; + /* used to synchronize stats collecting */ int stats_state; /* used by dmae command loader */ |