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/dwmac4_core.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/kernel/drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c b/kernel/drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c index da5d9e5..bc8871e 100644 --- a/kernel/drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c +++ b/kernel/drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c @@ -715,7 +715,6 @@ x->mac_gmii_rx_proto_engine++; } -#ifdef CONFIG_STMMAC_FULL const struct stmmac_ops dwmac4_ops = { .core_init = dwmac4_core_init, .set_mac = stmmac_set_mac, @@ -746,7 +745,6 @@ .debug = dwmac4_debug, .set_filter = dwmac4_set_filter, }; -#endif const struct stmmac_ops dwmac410_ops = { .core_init = dwmac4_core_init, @@ -779,7 +777,6 @@ .set_filter = dwmac4_set_filter, }; -#ifdef CONFIG_STMMAC_FULL const struct stmmac_ops dwmac510_ops = { .core_init = dwmac4_core_init, .set_mac = stmmac_dwmac4_set_mac, @@ -815,7 +812,6 @@ .rxp_config = dwmac5_rxp_config, .flex_pps_config = dwmac5_flex_pps_config, }; -#endif int dwmac4_setup(struct stmmac_priv *priv) { -- Gitblit v1.6.2