From 81be36aaa34c4cc37ebec9e9be5f2048963b0f8d Mon Sep 17 00:00:00 2001 From: Shiji Yang Date: Sat, 10 May 2025 10:59:33 +0800 Subject: [PATCH] kernel: modules: update dependency for kmod-usb-xhci-pci-renesas Now kmod-usb-xhci-pci-renesas is depend on kmod-usb3 on both 6.6 and 6.12 kernels. Also remove the hidden flag so that users can select it from menuconfig. Fix the following error: Package kmod-usb-xhci-pci-renesas is missing dependencies for the following libraries: xhci-pci.ko Link: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=25f51b76f90f10f9bf2fbc05fc51cf685da7ccad Signed-off-by: Shiji Yang Link: https://github.com/openwrt/openwrt/pull/18768 Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/usb.mk | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk index 630f52b57b4..ca3e445ce26 100644 --- a/package/kernel/linux/modules/usb.mk +++ b/package/kernel/linux/modules/usb.mk @@ -1807,10 +1807,7 @@ define KernelPackage/usb3 +TARGET_bcm53xx:kmod-usb-bcma \ +TARGET_bcm53xx:kmod-phy-bcm-ns-usb3 \ +TARGET_ramips_mt7621:kmod-usb-xhci-mtk \ - +TARGET_mediatek:kmod-usb-xhci-mtk \ - +TARGET_apm821xx_nand:kmod-usb-xhci-pci-renesas \ - +TARGET_lantiq_xrx200:kmod-usb-xhci-pci-renesas \ - +TARGET_mvebu_cortexa9:kmod-usb-xhci-pci-renesas + +TARGET_mediatek:kmod-usb-xhci-mtk KCONFIG:= \ CONFIG_USB_PCI=y \ CONFIG_USB_XHCI_PCI \ @@ -1897,8 +1894,8 @@ $(eval $(call KernelPackage,usb-xhci-mtk)) define KernelPackage/usb-xhci-pci-renesas TITLE:=Support for additional Renesas xHCI controller with firmware + DEPENDS:=+kmod-usb3 KCONFIG:=CONFIG_USB_XHCI_PCI_RENESAS - HIDDEN:=1 FILES:=$(LINUX_DIR)/drivers/usb/host/xhci-pci-renesas.ko AUTOLOAD:=$(call AutoLoad,54,xhci-pci-renesas,1) $(call AddDepends/usb)