From: Mantas Pucka Date: Fri, 22 Nov 2024 08:07:43 +0000 (+0200) Subject: kernel: adjust kmod-phy-aquantia dependencies for v6.12 kernel X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=4c69147a906c7eff14a71510441f01437958fe24;p=openwrt%2Fstaging%2Fstintel.git kernel: adjust kmod-phy-aquantia dependencies for v6.12 kernel Driver moved to different CRC library in v6.12 Ref: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=6c8e2407100e4ff1db86e4af65b74be7895031a2 Signed-off-by: Mantas Pucka Link: https://github.com/openwrt/openwrt/pull/16547 Signed-off-by: Christian Marangi --- diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk index e833463675..2e312b78c1 100644 --- a/package/kernel/linux/modules/netdevices.mk +++ b/package/kernel/linux/modules/netdevices.mk @@ -513,7 +513,7 @@ $(eval $(call KernelPackage,phy-airoha-en8811h)) define KernelPackage/phy-aquantia SUBMENU:=$(NETWORK_DEVICES_MENU) TITLE:=Aquantia Ethernet PHYs - DEPENDS:=+kmod-libphy +kmod-hwmon-core +kmod-lib-crc-ccitt + DEPENDS:=+kmod-libphy +kmod-hwmon-core +LINUX_6_6:kmod-lib-crc-ccitt +!LINUX_6_6:kmod-lib-crc-itu-t KCONFIG:=CONFIG_AQUANTIA_PHY FILES:=$(LINUX_DIR)/drivers/net/phy/aquantia/aquantia.ko AUTOLOAD:=$(call AutoLoad,18,aquantia,1)