Author: florian Date: 2015-07-04 03:24:37 +0200 (Sat, 04 Jul 2015) New Revision: 46172
Modified: trunk/package/kernel/linux/modules/usb.mk Log: kernel: fix OHCI and EHCI modules for AT91 We were not copying the additional files needed to get USB to work on the AT91 platforms, make sure we do this. Signed-off-by: Florian Fainelli <[email protected]> Modified: trunk/package/kernel/linux/modules/usb.mk =================================================================== --- trunk/package/kernel/linux/modules/usb.mk 2015-07-04 01:24:27 UTC (rev 46171) +++ trunk/package/kernel/linux/modules/usb.mk 2015-07-04 01:24:37 UTC (rev 46172) @@ -315,7 +315,10 @@ FILES:= \ $(LINUX_DIR)/drivers/usb/host/ohci-hcd.ko \ $(LINUX_DIR)/drivers/usb/host/ohci-platform.ko - AUTOLOAD:=$(call AutoLoad,50,ohci-hcd ohci-platform,1) + ifneq ($(wildcard $(LINUX_DIR)/drivers/usb/host/ohci-at91.ko),) + FILES+=$(LINUX_DIR)/drivers/usb/host/ohci-at91.ko + endif + AUTOLOAD:=$(call AutoLoad,50,ohci-hcd ohci-platform ohci-at91,1) $(call AddDepends/usb) endef @@ -416,14 +419,18 @@ CONFIG_USB_EHCI_MXC=y \ CONFIG_USB_OCTEON_EHCI=y \ CONFIG_USB_EHCI_HCD_ORION=y \ - CONFIG_USB_EHCI_HCD_PLATFORM=y + CONFIG_USB_EHCI_HCD_PLATFORM=y \ + CONFIG_USB_EHCI_HCD_AT91=y FILES:= \ $(LINUX_DIR)/drivers/usb/host/ehci-hcd.ko \ $(LINUX_DIR)/drivers/usb/host/ehci-platform.ko ifneq ($(wildcard $(LINUX_DIR)/drivers/usb/host/ehci-orion.ko),) FILES+=$(LINUX_DIR)/drivers/usb/host/ehci-orion.ko endif - AUTOLOAD:=$(call AutoLoad,40,ehci-hcd ehci-platform ehci-orion,1) + ifneq ($(wildcard $(LINUX_DIR)/drivers/usb/host/ehci-atmel.ko),) + FILES+=$(LINUX_DIR)/drivers/usb/host/ehci-atmel.ko + endif + AUTOLOAD:=$(call AutoLoad,40,ehci-hcd ehci-platform ehci-orion ehci-atmel,1) $(call AddDepends/usb) endef _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
