From: Tan Zien Date: Thu, 10 Sep 2020 17:21:23 +0000 (+0800) Subject: kernel: add module support Intel Ethernet Controller I225 Series X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4742ba41d0a9b4af23437182162b2ce7c7558d97;p=openwrt%2Fstaging%2Flynxis.git kernel: add module support Intel Ethernet Controller I225 Series add kernel module igc support Intel Ethernet Controller I225 Series. Signed-off-by: Tan Zien --- 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))