]> git.baikalelectronics.ru Git - kernel.git/commit
Fix sata_via write errors on PATA drive connected to VT6421
authorOndrej Zary <linux@rainbow-software.org>
Fri, 31 Aug 2007 22:55:21 +0000 (00:55 +0200)
committerJeff Garzik <jeff@garzik.org>
Sat, 1 Sep 2007 10:52:18 +0000 (06:52 -0400)
commit125fc1966d0f7c609bd0f0f1d6ed95e0f4f4d454
tree6437acc46fe1765a1fe211e5e088cbe818d0a486
parent01846934cdf75de2a84b144cf00f0b16ef24fa8f
Fix sata_via write errors on PATA drive connected to VT6421

I think that I've found and fixed the problem. There is a copy/paste bug in
vt6421_set_dma_mode() function which causes wrong values to be written to
PATA_UDMA_TIMING register.

This patch fixes a copy/paste bug that breaks DMA modes on VT6421 PATA port.

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Acked-by: Alan Cox <alan@redhat.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/sata_via.c