a0a3b4
From 688afe0fc3e705a5a65e9e74f6a77e56fb364c3f Mon Sep 17 00:00:00 2001
a0a3b4
From: Daniel Drake <drake@endlessm.com>
a0a3b4
Date: Thu, 15 Jan 2015 11:27:47 -0600
a0a3b4
Subject: [PATCH] kernel-modules: increase SDHCI driver inclusion
a0a3b4
a0a3b4
The sdhci-pci module is currently not being included in the initramfs,
a0a3b4
even though other sdhci modules are. This breaks boot on systems that
a0a3b4
rely on this driver to access the root filesystem.
a0a3b4
a0a3b4
Instead of looking for modules that use sdhci_pltfm_init, look for
a0a3b4
sdhci_add_host. I checked 3.18 kernel sources, and this change
a0a3b4
does not remove any of the previously-matched SDHCI drivers.
a0a3b4
It should result in the addition of sdhci-pci, sdhci-s3c, sdhci-spear
a0a3b4
and sdhci-acpi.
a0a3b4
a0a3b4
(cherry picked from commit 6dcc5e1158bf502b431491a381a16ca894f99ae2)
a0a3b4
---
a0a3b4
 modules.d/90kernel-modules/module-setup.sh | 2 +-
a0a3b4
 1 file changed, 1 insertion(+), 1 deletion(-)
a0a3b4
a0a3b4
diff --git a/modules.d/90kernel-modules/module-setup.sh b/modules.d/90kernel-modules/module-setup.sh
1755ca
index 34d85b1c..7d9d369a 100755
a0a3b4
--- a/modules.d/90kernel-modules/module-setup.sh
a0a3b4
+++ b/modules.d/90kernel-modules/module-setup.sh
a0a3b4
@@ -5,7 +5,7 @@
a0a3b4
 installkernel() {
a0a3b4
     if [[ -z $drivers ]]; then
a0a3b4
         block_module_filter() {
a0a3b4
-            local _blockfuncs='ahci_platform_get_resources|ata_scsi_ioctl|scsi_add_host|blk_cleanup_queue|register_mtd_blktrans|scsi_esp_register|register_virtio_device|usb_stor_disconnect|mmc_add_host|sdhci_pltfm_init'
a0a3b4
+            local _blockfuncs='ahci_platform_get_resources|ata_scsi_ioctl|scsi_add_host|blk_cleanup_queue|register_mtd_blktrans|scsi_esp_register|register_virtio_device|usb_stor_disconnect|mmc_add_host|sdhci_add_host'
a0a3b4
             # subfunctions inherit following FDs
a0a3b4
             local _merge=8 _side2=9
a0a3b4
             function bmf1() {