[OpenWrt-Devel] [PATCH] add i40e netdevice configs
zhangkaiheb at 126.com
zhangkaiheb at 126.com
Wed May 6 06:24:54 EDT 2020
From: zhangkai <zhangkaiheb at 126.com>
Signed-off-by: zhangkai <zhangkaiheb at 126.com>
---
package/kernel/linux/modules/netdevices.mk | 32 ++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk
index 6ea2f1df89..ce03ae998e 100644
--- a/package/kernel/linux/modules/netdevices.mk
+++ b/package/kernel/linux/modules/netdevices.mk
@@ -642,6 +642,38 @@ endef
$(eval $(call KernelPackage,ixgbevf))
+define KernelPackage/i40e
+ SUBMENU:=$(NETWORK_DEVICES_MENU)
+ TITLE:=Intel(R) Ethernet Controller XL710 Family support
+ DEPENDS:=@PCI_SUPPORT +kmod-mdio +kmod-ptp
+ KCONFIG:=CONFIG_I40E
+ FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/i40e/i40e.ko
+ AUTOLOAD:=$(call AutoLoad,35,i40e)
+endef
+
+define KernelPackage/i40e/description
+ Kernel modules for Intel(R) Ethernet Controller XL710 Family support.
+endef
+
+$(eval $(call KernelPackage,i40e))
+
+
+define KernelPackage/i40evf
+ SUBMENU:=$(NETWORK_DEVICES_MENU)
+ TITLE:=Intel(R) Ethernet Adaptive Virtual Function support
+ DEPENDS:=@PCI_SUPPORT
+ KCONFIG:=CONFIG_I40EVF
+ FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/i40evf/i40evf.ko
+ AUTOLOAD:=$(call AutoLoad,35,i40evf)
+endef
+
+define KernelPackage/i40evf/description
+ Kernel modules for Intel(R) Ethernet Adaptive Virtual Function support.
+endef
+
+$(eval $(call KernelPackage,i40evf))
+
+
define KernelPackage/b44
TITLE:=Broadcom 44xx driver
KCONFIG:=CONFIG_B44
--
2.17.1
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list