]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
Add check for aarch64 to the arm kernel module list 209/head
authorPeter Robinson <pbrobinson@gmail.com>
Thu, 23 Mar 2017 14:59:15 +0000 (14:59 +0000)
committerPeter Robinson <pbrobinson@gmail.com>
Thu, 23 Mar 2017 14:59:15 +0000 (14:59 +0000)
This adds the same list of drivers we use for arm platforms for
aarch64 too, also add the DMA drivers there too as they can add
sigficant performance for some storage/usb and often need to be
present when the storage drivers load.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
modules.d/90kernel-modules/module-setup.sh

index deb3709c0f2e7c683e810bbffc14fdb5d0fd78e5..b1bced696468b3461a08fc9c7d784861a8fcc514 100755 (executable)
@@ -23,10 +23,11 @@ installkernel() {
             virtio virtio_blk virtio_ring virtio_pci virtio_scsi \
             "=drivers/pcmcia" =ide nvme
 
-        if [[ "$(uname -p)" == arm* ]]; then
-            # arm specific modules
+       if [[ "$(uname -m)" == arm* || "$(uname -m)" == aarch64 ]]; then
+            # arm/aarch64 specific modules
             instmods \
                 "=drivers/clk" \
+                "=drivers/dma" \
                 "=drivers/i2c/busses" \
                 "=drivers/phy" \
                 "=drivers/power" \