projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68d5948
)
bnx2x: Fixing the doorbell size
author
Eilon Greenstein
<eilong@broadcom.com>
Thu, 15 Jan 2009 05:28:13 +0000
(21:28 -0800)
committer
David S. Miller
<davem@davemloft.net>
Thu, 15 Jan 2009 16:28:14 +0000
(08:28 -0800)
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>
drivers/net/bnx2x.h
patch
|
blob
|
history
diff --git
a/drivers/net/bnx2x.h
b/drivers/net/bnx2x.h
index
e7fbca7
..
6fcccef
100644
(file)
--- 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;