mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 05:39:41 -05:00
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.
This commit is contained in:
parent
6b173ac004
commit
9f4a249611
1 changed files with 4 additions and 2 deletions
|
@ -178,11 +178,13 @@ (define (file-system-type-predicate type)
|
|||
(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
|
||||
'())
|
||||
|
|
Loading…
Reference in a new issue