[openwrt/openwrt] kernel: usb: improve support for ath79 target

LEDE Commits lede-commits at lists.infradead.org
Sun Sep 22 14:59:14 PDT 2024


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/f813609d3117e8cad08b524b2f5a4eedc0ca6901

commit f813609d3117e8cad08b524b2f5a4eedc0ca6901
Author: Shiji Yang <yangshiji66 at qq.com>
AuthorDate: Fri Sep 13 19:52:30 2024 +0800

    kernel: usb: improve support for ath79 target
    
    1. Remove outdated symbol CONFIG_USB_OHCI_ATH79.
    The ath79 OHCI USB was already supported by the generic driver
    kmod-usb-ohci. And this kernel symbol has been dropped since
    upstream commit:
    53d473fc1e38 ("usb: host: Remove the deprecated ATH79 USB host config options")
    
    2. Add ath79 USB phy package to the OHCI dependencies.
    Both EHCI and OHCI require it on the ath79 target.
    
    Signed-off-by: Shiji Yang <yangshiji66 at qq.com>
    Link: https://github.com/openwrt/openwrt/pull/16380
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 package/kernel/linux/modules/usb.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk
index 7172bdf502..458c8c4ba6 100644
--- a/package/kernel/linux/modules/usb.mk
+++ b/package/kernel/linux/modules/usb.mk
@@ -272,13 +272,13 @@ $(eval $(call KernelPackage,usb-uhci,1))
 define KernelPackage/usb-ohci
   TITLE:=Support for OHCI controllers
   DEPENDS:= \
+	+TARGET_ath79:kmod-phy-ath79-usb \
 	+TARGET_bcm53xx:kmod-usb-bcma \
 	+TARGET_bcm47xx:kmod-usb-bcma \
 	+TARGET_bcm47xx:kmod-usb-ssb
   KCONFIG:= \
 	CONFIG_USB_OHCI \
 	CONFIG_USB_OHCI_HCD \
-	CONFIG_USB_OHCI_ATH79=y \
 	CONFIG_USB_OHCI_HCD_AT91=y \
 	CONFIG_USB_OHCI_BCM63XX=y \
 	CONFIG_USB_OCTEON_OHCI=y \




More information about the lede-commits mailing list