aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAin <41307858+nero@users.noreply.github.com>2018-08-23 10:42:17 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-11-08 16:04:20 +0000
commit4bf4c75f55a7e6819d21d1d2263903c0844f21ac (patch)
treeb3f4f98e27654c071b938e4dcbcc321b59be0ac2
parentd9a931204abf1831b11d28de6425de938dbf014c (diff)
downloadmkinitfs-4bf4c75f55a7e6819d21d1d2263903c0844f21ac.tar.bz2
mkinitfs-4bf4c75f55a7e6819d21d1d2263903c0844f21ac.tar.xz
Remove nodma kernel option
The kernel offers the same functionality through libata.dma=0.
-rwxr-xr-xinitramfs-init.in5
-rw-r--r--mkinitfs-bootparam.7.in3
2 files changed, 0 insertions, 8 deletions
diff --git a/initramfs-init.in b/initramfs-init.in
index 020f13c..5df779b 100755
--- a/initramfs-init.in
+++ b/initramfs-init.in
@@ -329,11 +329,6 @@ if [ "$KOPT_chart" = yes ]; then
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
diff --git a/mkinitfs-bootparam.7.in b/mkinitfs-bootparam.7.in
index 9abb124..f9d58c1 100644
--- a/mkinitfs-bootparam.7.in
+++ b/mkinitfs-bootparam.7.in
@@ -59,9 +59,6 @@ DHCP.
\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.