]> git.hungrycats.org Git - linux/commit
hpt366: fix HPT370 DMA timeouts
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Sat, 18 Apr 2009 15:42:19 +0000 (17:42 +0200)
committerChris Wright <chrisw@sous-sol.org>
Mon, 27 Apr 2009 17:37:01 +0000 (10:37 -0700)
commit2a3403fd95cbf6f548198be0fd37a056d12a56fe
tree763f4318c6fd73f808f0892bfef8573f1f219054
parent6c6737beae9981a707c1a4e1e9f1baf7cc47ce5f
hpt366: fix HPT370 DMA timeouts

upstream commit: c018f1ee5cf81e58b93d9e93a2ee39cad13dc1ac

The big driver change in 2.4.19-rc1 introduced a regression for many HPT370[A]
chips -- DMA stopped to work completely, only causing endless timeouts...

The culprit has been identified (at last!): it turned to be the code resetting
the DMA state machine before each transfer. Stop doing it now as this counter-
measure has clearly caused more harm than good.

This should fix the kernel.org bug #7703.

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
drivers/ide/hpt366.c