From: Ondrej Zary Date: Fri, 31 Aug 2007 22:55:21 +0000 (+0200) Subject: Fix sata_via write errors on PATA drive connected to VT6421 X-Git-Tag: v2.6.23-rc6~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4154d4a01c6cc98b97dc239ca4302316c8f98da;p=pandora-kernel.git 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 Acked-by: Alan Cox Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed