[openwrt/openwrt] kernel: Autoload nvme at preinit time

LEDE Commits lede-commits at lists.infradead.org
Fri Aug 11 09:19:41 PDT 2023


hauke pushed a commit to openwrt/openwrt.git, branch openwrt-23.05:
https://git.openwrt.org/40f9514e8068fbc149a9616b66ff7b996a718a68

commit 40f9514e8068fbc149a9616b66ff7b996a718a68
Author: Luca Barbato <lu_zero at gentoo.org>
AuthorDate: Sun Jul 23 22:23:40 2023 +0200

    kernel: Autoload nvme at preinit time
    
    This way is possible to mount nvme extroots.
    
    Signed-off-by: Luca Barbato <lu_zero at gentoo.org>
    (cherry picked from commit 0fe9a8ca94830270820f7a1eb457f5d5d587125d)
---
 package/kernel/linux/modules/block.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/kernel/linux/modules/block.mk b/package/kernel/linux/modules/block.mk
index bdf84e8ae2..4ee3f78f38 100644
--- a/package/kernel/linux/modules/block.mk
+++ b/package/kernel/linux/modules/block.mk
@@ -505,7 +505,7 @@ define KernelPackage/nvme
   FILES:= \
 	$(LINUX_DIR)/drivers/nvme/host/nvme-core.ko \
 	$(LINUX_DIR)/drivers/nvme/host/nvme.ko
-  AUTOLOAD:=$(call AutoLoad,30,nvme-core nvme)
+  AUTOLOAD:=$(call AutoLoad,30,nvme-core nvme,1)
 endef
 
 define KernelPackage/nvme/description




More information about the lede-commits mailing list