aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/genet/bcmgenet.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/broadcom/genet/bcmgenet.h')
-rw-r--r--drivers/net/ethernet/broadcom/genet/bcmgenet.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/genet/bcmgenet.h b/drivers/net/ethernet/broadcom/genet/bcmgenet.h
index 321b1db8c14b..dbf524ea3b19 100644
--- a/drivers/net/ethernet/broadcom/genet/bcmgenet.h
+++ b/drivers/net/ethernet/broadcom/genet/bcmgenet.h
@@ -401,6 +401,8 @@ struct bcmgenet_mib_counters {
401#define DMA_ARBITER_MODE_MASK 0x03 401#define DMA_ARBITER_MODE_MASK 0x03
402#define DMA_RING_BUF_PRIORITY_MASK 0x1F 402#define DMA_RING_BUF_PRIORITY_MASK 0x1F
403#define DMA_RING_BUF_PRIORITY_SHIFT 5 403#define DMA_RING_BUF_PRIORITY_SHIFT 5
404#define DMA_PRIO_REG_INDEX(q) ((q) / 6)
405#define DMA_PRIO_REG_SHIFT(q) (((q) % 6) * DMA_RING_BUF_PRIORITY_SHIFT)
404#define DMA_RATE_ADJ_MASK 0xFF 406#define DMA_RATE_ADJ_MASK 0xFF
405 407
406/* Tx/Rx Dma Descriptor common bits*/ 408/* Tx/Rx Dma Descriptor common bits*/