summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMieczyslaw Nalewaj2025-04-30 07:21:01 +0000
committerChristian Marangi2025-04-30 14:26:40 +0000
commit4de308428c42a03e0e8a9000557df9cef6f9fb49 (patch)
treeed78a103b5fee27d7443f9ad36c03fa4abee03e9
parentddcb01cf31048377bf2dd400fbd6874da34b01a6 (diff)
downloadopenwrt-4de308428c42a03e0e8a9000557df9cef6f9fb49.tar.gz
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@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/16547 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
-rw-r--r--package/kernel/linux/modules/netdevices.mk39
1 files 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