summaryrefslogtreecommitdiff
path: root/gnu/system
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2015-08-27 18:37:30 -0400
committerLudovic Courtès <ludo@gnu.org>2015-10-27 21:44:46 +0100
commit9f4a2496117aa17c6badcead56aa6efce6a97cbd (patch)
tree99797fe0da3e1c92e8feb20d9dbf314c50d53520 /gnu/system
parent6b173ac0041539989f1c892b35ea8817fda18ad4 (diff)
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.
Diffstat (limited to 'gnu/system')
-rw-r--r--gnu/system/linux-initrd.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/system/linux-initrd.scm b/gnu/system/linux-initrd.scm
index 519373fe347..6130e020c8e 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."
178 (define linux-modules 178 (define linux-modules
179 ;; Modules added to the initrd and loaded from the initrd. 179 ;; Modules added to the initrd and loaded from the initrd.
180 `("ahci" ;for SATA controllers 180 `("ahci" ;for SATA controllers
181 "pata_acpi" "pata_atiixp" ;for ATA controllers
182 "isci" ;for SAS controllers like Intel C602
183 "usb-storage" "uas" ;for the installation image etc. 181 "usb-storage" "uas" ;for the installation image etc.
184 "usbkbd" "usbhid" ;USB keyboards, for debugging 182 "usbkbd" "usbhid" ;USB keyboards, for debugging
185 "dm-crypt" "xts" ;for encrypted root partitions 183 "dm-crypt" "xts" ;for encrypted root partitions
184 ,@(if (string-match "^(x86_64|i[3-6]86)-" (%current-system))
185 '("pata_acpi" "pata_atiixp" ;for ATA controllers
186 "isci") ;for SAS controllers like Intel C602
187 '())
186 ,@(if (or virtio? qemu-networking?) 188 ,@(if (or virtio? qemu-networking?)
187 virtio-modules 189 virtio-modules
188 '()) 190 '())