Skip to content

Commit 68eabc3

Browse files
abajkdavem330
authored andcommitted
net: ethernet: lantiq_etop: Fix compilation error
This fixes the error detected when compiling the driver. Fixes: 14d4e30 ("net: lantiq: configure the burst length in ethernet drivers") Reported-by: kernel test robot <[email protected]> Signed-off-by: Aleksander Jan Bajkowski <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent af0a511 commit 68eabc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/lantiq_etop.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ ltq_etop_hw_init(struct net_device *dev)
262262
/* enable crc generation */
263263
ltq_etop_w32(PPE32_CGEN, LQ_PPE32_ENET_MAC_CFG);
264264

265-
ltq_dma_init_port(DMA_PORT_ETOP, priv->tx_burst_len, rx_burst_len);
265+
ltq_dma_init_port(DMA_PORT_ETOP, priv->tx_burst_len, priv->rx_burst_len);
266266

267267
for (i = 0; i < MAX_DMA_CHAN; i++) {
268268
int irq = LTQ_DMA_CH0_INT + i;

0 commit comments

Comments
 (0)