Skip to contentSkip to conversation

kernel-modules: increase SDHCI driver inclusion

PATCH New Daniel Drake 1 participant 1 message Jan 15, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kernel-modules: increase SDHCI driver inclusion

The sdhci-pci module is currently not being included in the initramfs, even though other sdhci modules are. This breaks boot on systems that rely on this driver to access the root filesystem.

Instead of looking for modules that use sdhci_pltfm_init, look for sdhci_add_host. I checked 3.18 kernel sources, and this change does not remove any of the previously-matched SDHCI drivers. It should result in the addition of sdhci-pci, sdhci-s3c, sdhci-spear and sdhci-acpi.

---
 modules.d/90kernel-modules/module-setup.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
modules.d/90kernel-modules/module-setup.sh +1 -1
index 5e292b0..a7b0853 100755
@@ -4,7 +4,7 @@
 installkernel() {
     if [[ -z $drivers ]]; then
         block_module_filter() {
-            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'
+            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'
             # subfunctions inherit following FDs
             local _merge=8 _side2=9
             function bmf1() {
Signature · 1 line
2.1.0