summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/pci/if_rlreg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/if_rlreg.h b/sys/pci/if_rlreg.h
index 273de102..c8120c7 100644
--- a/sys/pci/if_rlreg.h
+++ b/sys/pci/if_rlreg.h
@@ -609,7 +609,7 @@ struct rl_stats {
* Tx/Rx count must be equal. Shared code like re_dma_map_desc assumes this.
*/
#define RL_TX_DESC_CNT 64
-#define RL_RX_DESC_CNT RL_RX_DESC_CNT
+#define RL_RX_DESC_CNT RL_TX_DESC_CNT
#define RL_RX_LIST_SZ (RL_RX_DESC_CNT * sizeof(struct rl_desc))
#define RL_TX_LIST_SZ (RL_TX_DESC_CNT * sizeof(struct rl_desc))
#define RL_RING_ALIGN 256
OpenPOWER on IntegriCloud