From: Daniel Albers Date: Thu, 28 Dec 2017 17:36:24 +0000 (+0100) Subject: kernel: make uas work during early boot X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d30c0f4d50b3153dafdbbf892fe255b4e3d175a0;p=openwrt%2Fstaging%2Fzorun.git 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 --- diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk index d1fb5f4cd2..08e3bf699e 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