Some checks failed
Build Kernel / Build all affected Kernels (push) Has been cancelled
Build all core packages / Build all core packages for selected target (push) Has been cancelled
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
Build Toolchains / Build Toolchains for each target (push) Has been cancelled
Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
Coverity scan build / Coverity x86/64 build (push) Has been cancelled
39 lines
1.4 KiB
Diff
39 lines
1.4 KiB
Diff
From baa6c00f7a88b28f6838a9743f66c9f7f4716e25 Mon Sep 17 00:00:00 2001
|
|
From: Chuanhong Guo <gch981213@gmail.com>
|
|
Date: Tue, 20 Aug 2024 08:34:42 +0800
|
|
Subject: [PATCH 6/9] stmmac: add support for sf19a2890
|
|
|
|
---
|
|
drivers/net/ethernet/stmicro/stmmac/Kconfig | 9 +++++++++
|
|
drivers/net/ethernet/stmicro/stmmac/Makefile | 1 +
|
|
2 files changed, 10 insertions(+)
|
|
|
|
--- a/drivers/net/ethernet/stmicro/stmmac/Kconfig
|
|
+++ b/drivers/net/ethernet/stmicro/stmmac/Kconfig
|
|
@@ -142,6 +142,15 @@ config DWMAC_ROCKCHIP
|
|
This selects the Rockchip RK3288 SoC glue layer support for
|
|
the stmmac device driver.
|
|
|
|
+config DWMAC_SF19A2890
|
|
+ tristate "Siflower SF19A2890 GMAC support"
|
|
+ default MACH_SIFLOWER_MIPS
|
|
+ help
|
|
+ Support for GMAC on Siflower SF19A2890 SoC.
|
|
+
|
|
+ This selects the Siflower SF19A2890 SoC glue layer support for
|
|
+ the stmmac device driver.
|
|
+
|
|
config DWMAC_SOCFPGA
|
|
tristate "SOCFPGA dwmac support"
|
|
default ARCH_INTEL_SOCFPGA
|
|
--- a/drivers/net/ethernet/stmicro/stmmac/Makefile
|
|
+++ b/drivers/net/ethernet/stmicro/stmmac/Makefile
|
|
@@ -21,6 +21,7 @@ obj-$(CONFIG_DWMAC_MEDIATEK) += dwmac-me
|
|
obj-$(CONFIG_DWMAC_MESON) += dwmac-meson.o dwmac-meson8b.o
|
|
obj-$(CONFIG_DWMAC_QCOM_ETHQOS) += dwmac-qcom-ethqos.o
|
|
obj-$(CONFIG_DWMAC_ROCKCHIP) += dwmac-rk.o
|
|
+obj-$(CONFIG_DWMAC_SF19A2890) += dwmac-sf19a2890.o
|
|
obj-$(CONFIG_DWMAC_SOCFPGA) += dwmac-altr-socfpga.o
|
|
obj-$(CONFIG_DWMAC_STARFIVE) += dwmac-starfive.o
|
|
obj-$(CONFIG_DWMAC_STI) += dwmac-sti.o
|