From: Jens Kuske <jensku...@gmail.com>

The GMAC module in Allwinner sunxi SoCs seems to have problems with
burst lenghts > 8.

Signed-off-by: Jens Kuske <jensku...@gmail.com>
---
 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 22155b4..865abe1 100644
--- a/drivers/net/designware.c
+++ b/drivers/net/designware.c
@@ -154,7 +154,7 @@ static int dw_eth_init(struct eth_device *dev, bd_t *bis)
        /* Resore the HW MAC address as it has been lost during MAC reset */
        dw_write_hwaddr(dev);
 
-       writel(FIXEDBURST | PRIORXTX_41 | BURST_16,
+       writel(FIXEDBURST | PRIORXTX_41 | BURST_8,
                        &dma_p->busmode);
 
        writel(readl(&dma_p->opmode) | FLUSHTXFIFO | STOREFORWARD |
-- 
1.8.5.2

-- 
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 linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to