diff options
author | Eilon Greenstein <eilong@broadcom.com> | 2009-01-14 21:28:13 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-15 08:28:14 -0800 |
commit | a5f67a04d998b0b6e4beb1de8f1247dd93ac1ff4 (patch) | |
tree | d2b3dc29405f90d4a13b79e70ed890b17f4cbc27 /drivers/net/bnx2x.h | |
parent | 68d5948436c2f782ebb5ddf25a6588ee452e8c30 (diff) | |
download | kernel_samsung_tuna-a5f67a04d998b0b6e4beb1de8f1247dd93ac1ff4.zip kernel_samsung_tuna-a5f67a04d998b0b6e4beb1de8f1247dd93ac1ff4.tar.gz kernel_samsung_tuna-a5f67a04d998b0b6e4beb1de8f1247dd93ac1ff4.tar.bz2 |
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bnx2x.h b/drivers/net/bnx2x.h index e7fbca7..6fcccef 100644 --- a/drivers/net/bnx2x.h +++ b/drivers/net/bnx2x.h @@ -739,7 +739,7 @@ struct bnx2x { struct bnx2x_fastpath fp[MAX_CONTEXT]; void __iomem *regview; void __iomem *doorbells; -#define BNX2X_DB_SIZE (16*2048) +#define BNX2X_DB_SIZE (16*BCM_PAGE_SIZE) struct net_device *dev; struct pci_dev *pdev; |