diff --git a/drivers/net/bnx2x.h b/drivers/net/bnx2x.h index e7fbca7722dc0f42a1cfb3388ca6e56821542681..6fcccef4cf3d02bbc0449eaabbf7f081ce9f2cc5 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;