From: "Tham, Mun Yew" <mun.yew.t...@intel.com>

commit 45091e472d3df0e8be7275a9e8d96bc46c6ba700 from
https://github.com/altera-opensource/linux-socfpga.git

This patch adds Makefile and Kconfig for Intel FPGA E-tile Ethernet driver.
Signed-off-by: Tham, Mun Yew <mun.yew.t...@intel.com>
Signed-off-by: Wenlin Kang <wenlin.k...@windriver.com>
---
 drivers/net/ethernet/altera/Kconfig  | 10 ++++++++++
 drivers/net/ethernet/altera/Makefile |  6 +++++-
 2 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/altera/Kconfig 
b/drivers/net/ethernet/altera/Kconfig
index aa46327fb7a6..8f937f3b46d2 100644
--- a/drivers/net/ethernet/altera/Kconfig
+++ b/drivers/net/ethernet/altera/Kconfig
@@ -31,5 +31,15 @@ config INTEL_FPGA_QSE_LL
          To compile this driver as a module, choose M here. The module
          will be called intel_fpga_qse_ll.
 
+config INTEL_FPGA_ETILE
+       tristate "Intel FPGA E-tile Ethernet MAC support"
+       select PTP_1588_CLOCK
+       select PHYLINK
+       help
+         This driver supports the Intel FPGA E-tile Ethernet MAC.
+
+         To compile this driver as a module, choose M here. The module
+         will be called intel_fpga_etile.
+
 endif
 
diff --git a/drivers/net/ethernet/altera/Makefile 
b/drivers/net/ethernet/altera/Makefile
index 21a9de506e4d..f82fe30fc49a 100644
--- a/drivers/net/ethernet/altera/Makefile
+++ b/drivers/net/ethernet/altera/Makefile
@@ -15,4 +15,8 @@ ifeq ($(CONFIG_INTEL_FPGA_QSE_LL),y)
        obj-$(CONFIG_INTEL_FPGA_QSE_LL) += intel_fpga_qse_ll.o
        intel_fpga_qse_ll-objs := intel_fpga_qse_ll_main.o 
intel_fpga_qse_ll_ethtool.o
 endif
-
+ifeq ($(CONFIG_INTEL_FPGA_ETILE),y)
+       obj-$(CONFIG_INTEL_FPGA_ETILE) += intel_fpga_etile.o
+       intel_fpga_etile-objs := intel_fpga_etile_main.o intel_fpga_etile_fec.o 
\
+                                intel_fpga_etile_ethtool.o
+endif
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#12562): 
https://lists.yoctoproject.org/g/linux-yocto/message/12562
Mute This Topic: https://lists.yoctoproject.org/mt/98921477/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to