commit 04b32086569a126d5d6f9bd0ad1b0db9f142f50e
Author: Arkadiusz Miƛkiewicz <[email protected]>
Date:   Sun Jul 21 21:04:05 2019 +0200

    Try to detect a need for nvme driver. If you know better method then share 
with us.

 geninitrd | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/geninitrd b/geninitrd
index b5d405a..05e290a 100755
--- a/geninitrd
+++ b/geninitrd
@@ -673,6 +673,11 @@ find_modules_for_devpath() {
                return
        fi
 
+       if [[ "$devpath" == /dev/nvme* ]]; then
+               find_module "nvme"
+               return
+       fi
+
        if [[ "$devpath" == /dev/bcache* ]]; then
                find_modules_bcache "$devpath"
                return
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/geninitrd.git/commitdiff/04b32086569a126d5d6f9bd0ad1b0db9f142f50e

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to