mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-26 00:31:47 +00:00
14 lines
668 B
Diff
14 lines
668 B
Diff
diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-sunxi.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-sunxi.c
|
|
index adff463..e227f3f 100644
|
|
--- a/drivers/net/ethernet/stmicro/stmmac/dwmac-sunxi.c
|
|
+++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-sunxi.c
|
|
@@ -143,7 +143,9 @@ static int sun7i_gmac_probe(struct platform_device *pdev)
|
|
/* platform data specifying hardware features and callbacks.
|
|
* hardware features were copied from Allwinner drivers. */
|
|
plat_dat->tx_coe = 1;
|
|
+ plat_dat->rx_coe = 2;
|
|
plat_dat->has_gmac = true;
|
|
+ plat_dat->bugged_jumbo = 1;
|
|
plat_dat->bsp_priv = gmac;
|
|
plat_dat->init = sun7i_gmac_init;
|
|
plat_dat->exit = sun7i_gmac_exit;
|