summaryrefslogtreecommitdiffstats
path: root/install/block
diff options
context:
space:
mode:
authorEvangelos Foutras <evangelos@foutrelis.com>2016-01-20 08:26:09 +0100
committerEvangelos Foutras <evangelos@foutrelis.com>2016-01-20 08:40:32 +0100
commit730bf42e4ce461c654598effcc04b7bde4367de7 (patch)
tree5d0fcd976f44c674cef0131d1db7dd2cb8118c92 /install/block
parent715a37b0d6cbee360c00ee2e23e94a772a50a1f0 (diff)
downloadmkinitcpio-730bf42e4ce461c654598effcc04b7bde4367de7.tar.gz
mkinitcpio-730bf42e4ce461c654598effcc04b7bde4367de7.tar.xz
Fix nvme module detection in Linux 4.4v19
Diffstat (limited to 'install/block')
-rw-r--r--install/block4
1 files changed, 2 insertions, 2 deletions
diff --git a/install/block b/install/block
index 2e463ce..d9c627f 100644
--- a/install/block
+++ b/install/block
@@ -4,8 +4,8 @@ build() {
local filter
local -A blockdevs
- # pata, sata, scsi
- for filter in 'scsi/.*ata' '/(block|scsi|fusion)/' 'ata/[ps]ata_' \
+ # pata, sata, scsi, nvme
+ for filter in 'scsi/.*ata' '/(block|scsi|fusion|nvme)/' 'ata/[ps]ata_' \
'ata/(ahci|pdc_adma|ata_piix|ata_generic)'; do
add_checked_modules "$filter" && blockdevs['sd_mod']=1
done