aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/bnx2.h')
-rw-r--r--drivers/net/bnx2.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/bnx2.h b/drivers/net/bnx2.h
index 30ba366608b0..e6a2153e8b95 100644
--- a/drivers/net/bnx2.h
+++ b/drivers/net/bnx2.h
@@ -6408,6 +6408,11 @@ struct sw_bd {
6408 DECLARE_PCI_UNMAP_ADDR(mapping) 6408 DECLARE_PCI_UNMAP_ADDR(mapping)
6409}; 6409};
6410 6410
6411#define SW_RXBD_RING_SIZE (sizeof(struct sw_bd) * RX_DESC_CNT)
6412#define RXBD_RING_SIZE (sizeof(struct rx_bd) * RX_DESC_CNT)
6413#define SW_TXBD_RING_SIZE (sizeof(struct sw_bd) * TX_DESC_CNT)
6414#define TXBD_RING_SIZE (sizeof(struct tx_bd) * TX_DESC_CNT)
6415
6411/* Buffered flash (Atmel: AT45DB011B) specific information */ 6416/* Buffered flash (Atmel: AT45DB011B) specific information */
6412#define SEEPROM_PAGE_BITS 2 6417#define SEEPROM_PAGE_BITS 2
6413#define SEEPROM_PHY_PAGE_SIZE (1 << SEEPROM_PAGE_BITS) 6418#define SEEPROM_PHY_PAGE_SIZE (1 << SEEPROM_PAGE_BITS)