[PATCH] Re: Forcing modes in libata (was: SATA buffered read VERYslow)
From: FD Cami
Date: Sun Jan 06 2008 - 10:21:23 EST
On Sun, 6 Jan 2008 13:36:09 +0000
Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> wrote:
> On Sun, 6 Jan 2008 08:03:31 +0300
> > > For now you can boot with libata.dma=1 to select DMA on disks but
> > > not CD
> >
> > Great, but why isn't this in the documentation?
>
> Send patches
patch attached.
Description : Add libata.dma= to Documentation/kernel-parameters.txt
Found documentation in :
http://www.mail-archive.com/linux-ide%40vger.kernel.org/msg09849.html
http://www.redhat.com/archives/fedora-extras-commits/2007-October/msg04568.html
Signed-off-by: FranÃois Cami <francois.cami@xxxxxxx>
diff -rU2 linux-2.6.24-rc6/Documentation/kernel-parameters.txt linux-2.6.24-rc6-mine/Documentation/kernel-parameters.txt
--- linux-2.6.24-rc6/Documentation/kernel-parameters.txt 2008-01-06 15:58:54.000000000 +0100
+++ linux-2.6.24-rc6-mine/Documentation/kernel-parameters.txt 2008-01-06 16:11:20.000000000 +0100
@@ -883,4 +883,11 @@
C2 power state.
+ libata.dma= [LIBATA] DMA control
+ libata.dma=0 Disable all PATA DMA like old IDE
+ libata.dma=1 Disk DMA only
+ libata.dma=2 ATAPI DMA only
+ libata.dma=3 CF DMA only
+ libata.dma=0,1,3 Combinations also work.
+
libata.noacpi [LIBATA] Disables use of ACPI in libata suspend/resume
when set.