aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-dma.c
diff options
context:
space:
mode:
authorSergei Shtylyov <sshtylyov@ru.mvista.com>2006-06-26 00:26:15 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-26 09:58:27 -0700
commit17c1033d331a430ce631805e15215e63b4cce764 (patch)
tree3ec734f17ecc4a77116388947e8ee96426ee2d01 /drivers/ide/ide-dma.c
parent178184b60979992508130741f16499c360bc9c9a (diff)
downloadkernel_samsung_smdk4412-17c1033d331a430ce631805e15215e63b4cce764.tar.gz
kernel_samsung_smdk4412-17c1033d331a430ce631805e15215e63b4cce764.tar.bz2
kernel_samsung_smdk4412-17c1033d331a430ce631805e15215e63b4cce764.zip
[PATCH] ide: actually honor drive's minimum PIO/DMA cycle times
The function ide_timing_compute() fails to *actually* take drive's specified minimum PIO/DMA cycle times into account -- when doing this, it calls ide_timing_merge() on the 'struct ide_timing' argument which contains garbage at the moment, and then ultimately destroys the read cycle time by quantizing the ide_timing[] entry, instead of copying from that entry to the argument structure, and only then doing a merge/quantize. Cc: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl> Acked-by: Alan Cox <alan@lxorguk.ukuu.org.uk> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/ide/ide-dma.c')
0 files changed, 0 insertions, 0 deletions