guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/14: linux-initrd: Use pata_acpi, pata_atiixp, and isci modules only o


From: Mark H. Weaver
Subject: 03/14: linux-initrd: Use pata_acpi, pata_atiixp, and isci modules only on Intel.
Date: Wed, 30 Sep 2015 22:13:17 +0000

mhw pushed a commit to branch wip-loongson2f
in repository guix.

commit 3a2a9e85058d527a31bd59283cd2efe361167998
Author: Mark H Weaver <address@hidden>
Date:   Thu Aug 27 18:37:30 2015 -0400

    linux-initrd: Use pata_acpi, pata_atiixp, and isci modules only on Intel.
    
    * gnu/system/linux-initrd.scm (base-initrd)[linux-modules]: Include
      "pata_acpi", "pata_atiixp", and "isci" on Intel systems only.
---
 gnu/system/linux-initrd.scm |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/gnu/system/linux-initrd.scm b/gnu/system/linux-initrd.scm
index 519373f..6130e02 100644
--- a/gnu/system/linux-initrd.scm
+++ b/gnu/system/linux-initrd.scm
@@ -178,11 +178,13 @@ loaded at boot time in the order in which they appear."
   (define linux-modules
     ;; Modules added to the initrd and loaded from the initrd.
     `("ahci"                                  ;for SATA controllers
-      "pata_acpi" "pata_atiixp"               ;for ATA controllers
-      "isci"                              ;for SAS controllers like Intel C602
       "usb-storage" "uas"                     ;for the installation image etc.
       "usbkbd" "usbhid"                       ;USB keyboards, for debugging
       "dm-crypt" "xts"                        ;for encrypted root partitions
+      ,@(if (string-match "^(x86_64|i[3-6]86)-" (%current-system))
+            '("pata_acpi" "pata_atiixp"    ;for ATA controllers
+              "isci")                      ;for SAS controllers like Intel C602
+            '())
       ,@(if (or virtio? qemu-networking?)
             virtio-modules
             '())



reply via email to

[Prev in Thread] Current Thread [Next in Thread]