From 9c2dfff96adcfcdf2a1143893a7dd749b9f3677a Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Wed, 15 Feb 2023 10:27:30 +0000 Subject: [PATCH] enable 4G --- kernel/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c | 8 -------- 1 files changed, 0 insertions(+), 8 deletions(-) diff --git a/kernel/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c b/kernel/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c index 9d47311..46f8754 100644 --- a/kernel/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c +++ b/kernel/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c @@ -469,14 +469,6 @@ plat->pmt = 1; } - if (of_device_is_compatible(np, "snps,dwmac-3.40a")) { - plat->has_gmac = 1; - plat->enh_desc = 1; - plat->tx_coe = 1; - plat->bugged_jumbo = 1; - plat->pmt = 1; - } - if (of_device_is_compatible(np, "snps,dwmac-4.00") || of_device_is_compatible(np, "snps,dwmac-4.10a") || of_device_is_compatible(np, "snps,dwmac-4.20a")) { -- Gitblit v1.6.2