summaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2.c
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2006-03-23 10:13:43 +0100
committerDavid S. Miller <davem@davemloft.net>2006-03-23 10:13:43 +0100
commit29b12174ac14f110225d6d9ebb66c30df5023baf (patch)
tree2c90b0bb6d3e6e4e7528cd381688b4413c77507b /drivers/net/bnx2.c
parent[BNX2]: Move .h files to bnx2.c (diff)
downloadlinux-29b12174ac14f110225d6d9ebb66c30df5023baf.tar.xz
linux-29b12174ac14f110225d6d9ebb66c30df5023baf.zip
[BNX2]: Separate tx producer and consumer fields
Put the tx producer and consumer fields in separate cache lines in the device structure, similar to the VJ net channel queue structure. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2.c')
-rw-r--r--drivers/net/bnx2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c
index 3f2eaf52d197..6ccacb5f2545 100644
--- a/drivers/net/bnx2.c
+++ b/drivers/net/bnx2.c
@@ -48,6 +48,7 @@
#include <linux/workqueue.h>
#include <linux/crc32.h>
#include <linux/prefetch.h>
+#include <linux/cache.h>
#include "bnx2.h"
#include "bnx2_fw.h"