]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
kernel/lan743x: 6.12: fix missing dependency
authorMieczyslaw Nalewaj <namiltd@yahoo.com>
Sun, 27 Apr 2025 16:42:10 +0000 (18:42 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Wed, 30 Apr 2025 14:26:40 +0000 (16:26 +0200)
Add missing depends kmod-phylink.

Package kmod-lan743x is missing dependencies for the following libraries:
phylink.ko

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

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 3e02d0e154f117d753c61ee445d1100243b66e77..ca0d33be78842aaa71fad975fe8e3c8a89c5db92 100644 (file)
@@ -2098,7 +2098,7 @@ $(eval $(call KernelPackage,atlantic))
 define KernelPackage/lan743x
   SUBMENU:=$(NETWORK_DEVICES_MENU)
   TITLE:=Microchip LAN743x PCI Express Gigabit Ethernet NIC
-  DEPENDS:=@PCI_SUPPORT +kmod-ptp +kmod-mdio-devres +kmod-fixed-phy
+  DEPENDS:=@PCI_SUPPORT +kmod-ptp +kmod-mdio-devres +kmod-fixed-phy +!LINUX_6_6:kmod-phylink
   KCONFIG:=CONFIG_LAN743X
   FILES:=$(LINUX_DIR)/drivers/net/ethernet/microchip/lan743x.ko
   AUTOLOAD:=$(call AutoProbe,lan743x)