$(eval $(call KernelPackage,sfp))
+
+define KernelPackage/stmmac-core
+ SUBMENU:=$(NETWORK_DEVICES_MENU)
+ TITLE:=Synopsis Ethernet Controller core (NXP,STMMicro,others)
+ DEPENDS:=@(TARGET_armsr_armv8) +kmod-pcs-xpcs +kmod-ptp \
+ +kmod-of-mdio
+ KCONFIG:=CONFIG_STMMAC_ETH \
+ CONFIG_STMMAC_SELFTESTS=n \
+ CONFIG_STMMAC_PLATFORM \
+ CONFIG_CONFIG_DWMAC_DWC_QOS_ETH=n \
+ CONFIG_DWMAC_GENERIC
+ FILES=$(LINUX_DIR)/drivers/net/ethernet/stmicro/stmmac/stmmac.ko \
+ $(LINUX_DIR)/drivers/net/ethernet/stmicro/stmmac/stmmac-platform.ko \
+ $(LINUX_DIR)/drivers/net/ethernet/stmicro/stmmac/dwmac-generic.ko
+ AUTOLOAD=$(call AutoLoad,40,stmmac stmmac-platform dwmac-generic)
+endef
+
+$(eval $(call KernelPackage,stmmac-core))
+
+
define KernelPackage/igc
SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:=Intel(R) Ethernet Controller I225 Series support
$(eval $(call KernelPackage,imx7-ulp-wdt))
-define KernelPackage/stmmac-core
- SUBMENU=$(NETWORK_DEVICES_MENU)
- TITLE:=Synopsis Ethernet Controller core (NXP,STMMicro,others)
- DEPENDS:=@(TARGET_armsr_armv8) +kmod-pcs-xpcs +kmod-ptp \
- +kmod-of-mdio
- KCONFIG:=CONFIG_STMMAC_ETH \
- CONFIG_STMMAC_SELFTESTS=n \
- CONFIG_STMMAC_PLATFORM \
- CONFIG_CONFIG_DWMAC_DWC_QOS_ETH=n \
- CONFIG_DWMAC_GENERIC
- FILES=$(LINUX_DIR)/drivers/net/ethernet/stmicro/stmmac/stmmac.ko \
- $(LINUX_DIR)/drivers/net/ethernet/stmicro/stmmac/stmmac-platform.ko \
- $(LINUX_DIR)/drivers/net/ethernet/stmicro/stmmac/dwmac-generic.ko
- AUTOLOAD=$(call AutoLoad,40,stmmac stmmac-platform dwmac-generic)
-endef
-
-$(eval $(call KernelPackage,stmmac-core))
-
define KernelPackage/dwmac-imx
SUBMENU=$(NETWORK_DEVICES_MENU)
TITLE:=NXP i.MX8 Ethernet controller