Skip to content

Commit

Permalink
bnx2x: Fixing the doorbell size
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Eilon Greenstein authored and David S. Miller committed Jan 15, 2009
1 parent 68d5948 commit a5f67a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/bnx2x.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a5f67a0

Please sign in to comment.