home: hub: mkinitfs

Download patch

ref: 4bf4c75f55a7e6819d21d1d2263903c0844f21ac
parent: d9a931204abf1831b11d28de6425de938dbf014c
author: Ain <41307858+nero@users.noreply.github.com>
date: Thu Aug 23 05:42:17 CDT 2018

Remove nodma kernel option

The kernel offers the same functionality through libata.dma=0.

--- a/initramfs-init.in
+++ b/initramfs-init.in
@@ -329,11 +329,6 @@
 	eend 0
 fi
 
-# dma can be problematic
-if [ "$KOPT_dma" = no ]; then
-	modprobe libata dma=0
-fi
-
 # The following values are supported:
 #   alpine_repo=auto         -- default, search for .boot_repository
 #   alpine_repo=http://...   -- network repository
--- a/mkinitfs-bootparam.7.in
+++ b/mkinitfs-bootparam.7.in
@@ -59,9 +59,6 @@
 \fBmodules=\fIMODULE\fR{,\fIMODULE\fR}
 Comma-sparated list of kernel modules to load explicitly.
 .TP
-\fBnodma\fR
-Disable DMA for ATA devices.
-.TP
 \fBoverlaytmpfs\fR
 When booting from an read-only partition, you can specify this flag to have
 your changes written to an in-memory overlayfs.