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