From b625cdcd68479b3d540a915785b6d9809b52a2f8 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Tue, 14 Feb 2023 06:37:54 +0000 Subject: [PATCH] stmmac read mac form eeprom --- 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