[BNX2]: Add indirect spinlock.
authorMichael Chan <mchan@broadcom.com>
Thu, 3 May 2007 20:24:05 +0000 (13:24 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 May 2007 20:24:05 +0000 (13:24 -0700)
commit1b8227c48e164655f02aa0eff55862af2d05da51
treeee1598123fba3ee397a463ff706ec8f235464523
parent27a005b883984ef3a3cf24e7ddd78eb78902f494
[BNX2]: Add indirect spinlock.

The indirect register access method will be used by more than one
caller in BH context (NAPI poll and timer), so a spinlock is required.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2.c
drivers/net/bnx2.h