dracut/0588-Ensure-mmc-host-modules-get-included-properly.patch
Daniel Molkentin 3e7d1873a8 Accepting request 667615 from home:dmolkentin:branches:Base:System
* adds 0588-Ensure-mmc-host-modules-get-included-properly.patch
  * adds 0587-Fix-a-missing-space-in-example-configs.patch 
  * adds 0586-95zfcp_rules-parse-zfcp.sh-remove-rule-existence-check.patch
-  emergency mode: bring shell and all vital information to
   all ttys specified as console devices
   (FATE#325386, bsc#1053248, bsc#937555)
   * Adds 0585-emergency-mode-use-sulogin.patch

OBS-URL: https://build.opensuse.org/request/show/667615
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=361
2019-01-21 14:33:39 +00:00

42 lines
1.6 KiB
Diff

From 68777f36a4041f520197531e94a1b909801e67d9 Mon Sep 17 00:00:00 2001
From: Daniel Molkentin <dmolkentin@suse.com>
Date: Mon, 21 Jan 2019 14:21:14 +0100
Subject: [PATCH] Ensure mmc host modules get included properly
This fixes an in incorrect part of the backport in
1229cbc091ac11434b0b628d58630ce4c8fbe8e3
aka Adjust-driver-list-to-modern-kernels.patch
Patch is not applicable for 049
Reference: bsc#1119037
---
modules.d/90kernel-modules/module-setup.sh | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/modules.d/90kernel-modules/module-setup.sh b/modules.d/90kernel-modules/module-setup.sh
index cc6a9309..79e615a6 100755
--- a/modules.d/90kernel-modules/module-setup.sh
+++ b/modules.d/90kernel-modules/module-setup.sh
@@ -5,6 +5,9 @@ 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_add_host'
+ if [[ "$(uname -m)" == arm* || "$(uname -m)" == aarch64 ]]; then
+ _blockfuncs+='|dw_mc_probe|dw_mci_pltfm_register'
+ fi
# subfunctions inherit following FDs
local _merge=8 _side2=9
function bmf1() {
@@ -59,7 +62,6 @@ installkernel() {
if [[ "$(uname -m)" == arm* || "$(uname -m)" == aarch64 ]]; then
# arm/aarch64 specific modules
- _blockfuncs+='|dw_mc_probe|dw_mci_pltfm_register'
instmods \
"=drivers/clk" \
"=drivers/dma" \
--
2.16.4