Kaynağa Gözat

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 <[email protected]>
Daniel Albers 8 yıl önce
ebeveyn
işleme
d30c0f4d50
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      package/kernel/linux/modules/usb.mk

+ 1 - 1
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