kernel: adjust kmod-phy-aquantia dependencies for v6.12 kernel
authorMantas Pucka <[email protected]>
Fri, 22 Nov 2024 08:07:43 +0000 (10:07 +0200)
committerChristian Marangi <[email protected]>
Wed, 30 Apr 2025 14:26:37 +0000 (16:26 +0200)
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 <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <[email protected]>
package/kernel/linux/modules/netdevices.mk

index e833463675b7e1679a215f0a0cad26bef26aa90d..2e312b78c1996eb71da48b00b799b8e6c56fc4bd 100644 (file)
@@ -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)