[source] kernel: make uas work during early boot

LEDE Commits lede-commits at lists.infradead.org
Tue Jan 2 05:29:26 PST 2018


blogic pushed a commit to source.git, branch master:
https://git.lede-project.org/d30c0f4d50b3153dafdbbf892fe255b4e3d175a0

commit d30c0f4d50b3153dafdbbf892fe255b4e3d175a0
Author: Daniel Albers <daniel.albers at public-files.de>
AuthorDate: Thu Dec 28 18:36:24 2017 +0100

    kernel: make uas work during early boot
    
    Add the uas(p) module to the modules loaded early on the boot process.
    
    The uas(p) is an modern alternative, which is used by the modern USB3
    storage cases, compared to the bot protocol. To be able to use uas(p)
    storage cases for extroot, the kernel module has to be loaded before the
    search for extroot has been called. This patch changes the load order to
    support uas(p) storage cases for extroot.
    
    Signed-off-by: Daniel Albers <daniel.albers at public-files.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 d1fb5f4..08e3bf6 100644
--- a/package/kernel/linux/modules/usb.mk
+++ b/package/kernel/linux/modules/usb.mk
@@ -894,7 +894,7 @@ define KernelPackage/usb-storage-uas
   DEPENDS:=+kmod-usb-storage
   KCONFIG:=CONFIG_USB_UAS
   FILES:=$(LINUX_DIR)/drivers/usb/storage/uas.ko
-  AUTOLOAD:=$(call AutoProbe,uas)
+  AUTOLOAD:=$(call AutoProbe,uas,1)
 endef
 
 define KernelPackage/usb-storage-uas/description



More information about the lede-commits mailing list