From: Jens Kuske <[email protected]> The GMAC module in Allwinner sunxi SoCs seems to have problems with burst lengths > 8.
Signed-off-by: Jens Kuske <[email protected]> Signed-off-by: Ian Campbell <[email protected]> Cc: Chen-Yu Tsai <[email protected]> --- v4: Based on d9fe0a1e061e "sunxi: mksunxiboot: remove unnecessary casts." v3: New. cherry-picked from u-boot-sunxi.git tree. --- drivers/net/designware.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/designware.c b/drivers/net/designware.c index c45593b..6ece479 100644 --- a/drivers/net/designware.c +++ b/drivers/net/designware.c @@ -249,7 +249,7 @@ static int dw_eth_init(struct eth_device *dev, bd_t *bis) rx_descs_init(dev); tx_descs_init(dev); - writel(FIXEDBURST | PRIORXTX_41 | BURST_16, &dma_p->busmode); + writel(FIXEDBURST | PRIORXTX_41 | BURST_8, &dma_p->busmode); writel(readl(&dma_p->opmode) | FLUSHTXFIFO | STOREFORWARD, &dma_p->opmode); -- 1.9.0 -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
