From 4742ba41d0a9b4af23437182162b2ce7c7558d97 Mon Sep 17 00:00:00 2001 From: Tan Zien Date: Fri, 11 Sep 2020 01:21:23 +0800 Subject: [PATCH] kernel: add module support Intel Ethernet Controller I225 Series add kernel module igc support Intel Ethernet Controller I225 Series. Signed-off-by: Tan Zien --- package/kernel/linux/modules/netdevices.mk | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk index 0db3e3569c..72fbb4e4e3 100644 --- a/package/kernel/linux/modules/netdevices.mk +++ b/package/kernel/linux/modules/netdevices.mk @@ -1219,3 +1219,18 @@ define KernelPackage/sfp/description endef $(eval $(call KernelPackage,sfp)) + +define KernelPackage/igc + SUBMENU:=$(NETWORK_DEVICES_MENU) + TITLE:=Intel(R) Ethernet Controller I225 Series support + DEPENDS:=@PCI_SUPPORT @!LINUX_4_19 + KCONFIG:=CONFIG_IGC + FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/igc/igc.ko + AUTOLOAD:=$(call AutoProbe,igc) +endef + +define KernelPackage/igc/description + Kernel modules for Intel(R) Ethernet Controller I225 Series +endef + +$(eval $(call KernelPackage,igc)) -- 2.30.2