kernel/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
.. .. @@ -469,6 +469,14 @@ 469 469 plat->pmt = 1; 470 470 } 471 471 472 + if (of_device_is_compatible(np, "snps,dwmac-3.40a")) {473 + plat->has_gmac = 1;474 + plat->enh_desc = 1;475 + plat->tx_coe = 1;476 + plat->bugged_jumbo = 1;477 + plat->pmt = 1;478 + }479 +472 480 if (of_device_is_compatible(np, "snps,dwmac-4.00") || 473 481 of_device_is_compatible(np, "snps,dwmac-4.10a") || 474 482 of_device_is_compatible(np, "snps,dwmac-4.20a")) {