ref: 8eb7865613cffd0616d0dc2f8708203d0f8fab4c
parent: 80f784dc3e96dfb819913cb95ec111ec7ee2c9b8
author: Timo Teras <timo.teras@iki.fi>
date: Tue May 26 03:41:56 CDT 2009
init: option to turn off dma If some devices have broken DMA the boot sequence can get annoyingly long when "loading boot drivers". Allow dma to be turned off.
--- a/initramfs-init.in
+++ b/initramfs-init.in
@@ -119,6 +119,11 @@
eend 0
fi
+# dma can be problematic
+if [ -n "$KOPT_nodma" ]; then
+ modprobe libata dma=0
+fi
+
ALPINE_DEV=${KOPT_alpine_dev%%:*}
ALPINE_DEV_FS=${KOPT_alpine_dev##*:}
if [ "$ALPINE_DEV_FS" = "$ALPINE_DEV" ]; then