aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2x.h
diff options
context:
space:
mode:
authorEilon Greenstein <eilong@broadcom.com>2009-01-15 00:28:13 -0500
committerDavid S. Miller <davem@davemloft.net>2009-01-15 11:28:14 -0500
commita5f67a04d998b0b6e4beb1de8f1247dd93ac1ff4 (patch)
treed2b3dc29405f90d4a13b79e70ed890b17f4cbc27 /drivers/net/bnx2x.h
parent68d5948436c2f782ebb5ddf25a6588ee452e8c30 (diff)
bnx2x: Fixing the doorbell size
The size of the doorbell is 4KB, this bug become visible when using more than 8 queues 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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bnx2x.h b/drivers/net/bnx2x.h
index e7fbca7722dc..6fcccef4cf3d 100644
--- a/drivers/net/bnx2x.h
+++ b/drivers/net/bnx2x.h
@@ -739,7 +739,7 @@ struct bnx2x {
739 struct bnx2x_fastpath fp[MAX_CONTEXT]; 739 struct bnx2x_fastpath fp[MAX_CONTEXT];
740 void __iomem *regview; 740 void __iomem *regview;
741 void __iomem *doorbells; 741 void __iomem *doorbells;
742#define BNX2X_DB_SIZE (16*2048) 742#define BNX2X_DB_SIZE (16*BCM_PAGE_SIZE)
743 743
744 struct net_device *dev; 744 struct net_device *dev;
745 struct pci_dev *pdev; 745 struct pci_dev *pdev;