[openwrt/openwrt] kernel: modules: i40e,ice,iavf: support for kernel 6.12
LEDE Commits
lede-commits at lists.infradead.org
Wed Apr 30 07:27:54 PDT 2025
ansuel pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/4de308428c42a03e0e8a9000557df9cef6f9fb49
commit 4de308428c42a03e0e8a9000557df9cef6f9fb49
Author: Mieczyslaw Nalewaj <namiltd at yahoo.com>
AuthorDate: Wed Apr 30 09:21:01 2025 +0200
kernel: modules: i40e,ice,iavf: support for kernel 6.12
Add Common Intel Ethernet library (libeth) and Intel Ethernet library (libie).
Add CONFIG_ICE_HWMON setting.
Ref:
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=306ec721d043bbe5e818d59fbb37c28d999b5d8b
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=4da71a77fc3be1fcb680c8d78e1a1fb8017905ad
Signed-off-by: Mieczyslaw Nalewaj <namiltd at yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
---
package/kernel/linux/modules/netdevices.mk | 39 +++++++++++++++++++++++++++---
1 file changed, 36 insertions(+), 3 deletions(-)
diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk
index 2e312b78c1..3e02d0e154 100644
--- a/package/kernel/linux/modules/netdevices.mk
+++ b/package/kernel/linux/modules/netdevices.mk
@@ -120,6 +120,38 @@ endef
$(eval $(call KernelPackage,atl1e))
+define KernelPackage/libie
+ SUBMENU:=$(NETWORK_DEVICES_MENU)
+ TITLE:=Intel Ethernet library
+ DEPENDS:=@!LINUX_6_6 +kmod-libeth
+ KCONFIG:=CONFIG_LIBIE
+ HIDDEN:=1
+ FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/libie/libie.ko
+endef
+
+define KernelPackage/libie/description
+ Intel Ethernet library
+endef
+
+$(eval $(call KernelPackage,libie))
+
+
+define KernelPackage/libeth
+ SUBMENU:=$(NETWORK_DEVICES_MENU)
+ TITLE:=Common Intel Ethernet library
+ DEPENDS:=@!LINUX_6_6
+ KCONFIG:=CONFIG_LIBETH
+ HIDDEN:=1
+ FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/libeth/libeth.ko
+endef
+
+define KernelPackage/libeth/description
+ Common Intel Ethernet library
+endef
+
+$(eval $(call KernelPackage,libeth))
+
+
define KernelPackage/libphy
SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:=PHY library
@@ -1181,7 +1213,7 @@ $(eval $(call KernelPackage,ixgbevf))
define KernelPackage/i40e
SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:=Intel(R) Ethernet Controller XL710 Family support
- DEPENDS:=@PCI_SUPPORT +kmod-ptp
+ DEPENDS:=@PCI_SUPPORT +kmod-ptp +!LINUX_6_6:kmod-libie
KCONFIG:=CONFIG_I40E \
CONFIG_I40E_DCB=y
FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/i40e/i40e.ko
@@ -1198,8 +1230,9 @@ $(eval $(call KernelPackage,i40e))
define KernelPackage/ice
SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:=Intel(R) Ethernet Controller E810 Series support
- DEPENDS:=@PCI_SUPPORT +kmod-ptp
+ DEPENDS:=@PCI_SUPPORT +kmod-ptp +!LINUX_6_6:kmod-hwmon-core +!LINUX_6_6:kmod-libie
KCONFIG:=CONFIG_ICE \
+ CONFIG_ICE_HWMON=y \
CONFIG_ICE_HWTS=n \
CONFIG_ICE_SWITCHDEV=y
FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/ice/ice.ko
@@ -1216,7 +1249,7 @@ $(eval $(call KernelPackage,ice))
define KernelPackage/iavf
SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:=Intel(R) Ethernet Adaptive Virtual Function support
- DEPENDS:=@PCI_SUPPORT
+ DEPENDS:=@PCI_SUPPORT +!LINUX_6_6:kmod-libie
KCONFIG:= \
CONFIG_I40EVF \
CONFIG_IAVF
More information about the lede-commits
mailing list