]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
pcs-xpcs: 6.12: fix missing dependency
authorMieczyslaw Nalewaj <namiltd@yahoo.com>
Sun, 27 Apr 2025 16:25:49 +0000 (18:25 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Wed, 30 Apr 2025 14:26:34 +0000 (16:26 +0200)
Add missing depends kmod-mdio-devres.

Package kmod-pcs-xpcs is missing dependencies for the following libraries:
mdio_devres.ko

Ref: https://web.git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=f6bb3e9d98c2e8d70587d5ddaf9426ef30d7865c

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
package/kernel/linux/modules/netdevices.mk

index a52620ee6f81658c7b6d0ed8c2a516c2f88ef8c3..e833463675b7e1679a215f0a0cad26bef26aa90d 100644 (file)
@@ -1867,7 +1867,7 @@ $(eval $(call KernelPackage,sfp))
 define KernelPackage/pcs-xpcs
   SUBMENU:=$(NETWORK_DEVICES_MENU)
   TITLE:=Synopsis DesignWare PCS driver
-  DEPENDS:=@(TARGET_x86_64||TARGET_armsr) +kmod-phylink
+  DEPENDS:=@(TARGET_x86_64||TARGET_armsr) +kmod-phylink +!LINUX_6_6:kmod-mdio-devres
   KCONFIG:=CONFIG_PCS_XPCS
   FILES:=$(LINUX_DIR)/drivers/net/pcs/pcs_xpcs.ko
   AUTOLOAD:=$(call AutoLoad,20,pcs_xpcs)