]> git.ipfire.org Git - thirdparty/dracut.git/commit
kernel-modules: Fix storage module selection for sdhci/mmc/ahci
authorPeter Robinson <pbrobinson@gmail.com>
Fri, 23 May 2014 10:54:01 +0000 (11:54 +0100)
committerHarald Hoyer <harald@redhat.com>
Tue, 29 Jul 2014 10:00:29 +0000 (12:00 +0200)
commit9c45cb9c117505191f2678e25edac481ff6da9f2
tree7c29061a098a7c5868447b577f8d70097a3dcae7
parent2fed6038bb9c30b903464b838b05a2ceb3412a6b
kernel-modules: Fix storage module selection for sdhci/mmc/ahci

Currently the block driver detection for generic initrd doesn't include
the SD/MMC drivers so we fail to boot generic images on any device using
those platforms as boot devices when using a generic initrd. Add logic
to detect those modules. This primarily fixes embedded ARM devices but
also likely intel tablets/dev boards and enterprise hypervisors that
have the ability to boot from SD.

Also the ahci_init_controller misses a number of drivers that use the
libahci_platform module for the init so this fixes some missing achi
moduless too.

Finally it cleans up the ARM storage module hacks that the above now
deals with in a more generic manner.

Signed-off-by: <pbrobinson@gmail.com>
(cherry picked from commit 827ec27a9c36755095dda899eff75cdae78b2120)
modules.d/90kernel-modules/module-setup.sh