forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-02-15 9c2dfff96adcfcdf2a1143893a7dd749b9f3677a
kernel/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
....@@ -469,14 +469,6 @@
469469 plat->pmt = 1;
470470 }
471471
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
-
480472 if (of_device_is_compatible(np, "snps,dwmac-4.00") ||
481473 of_device_is_compatible(np, "snps,dwmac-4.10a") ||
482474 of_device_is_compatible(np, "snps,dwmac-4.20a")) {