[PATCH] Fix sgiioc4 DMA timeout problem with 64KiB s/g elements.
authorJeremy Higdon <jeremy@sgi.com>
Thu, 2 Feb 2006 08:00:46 +0000 (00:00 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 2 Feb 2006 09:14:46 +0000 (01:14 -0800)
commit0271fc2db6260dd46f196191e24281af2fddb879
treef16b25f04d7ab9cce84532d9036148960befe86b
parentb4103333d7904310d34de18d85e51e3d74f00a3b
[PATCH] Fix sgiioc4 DMA timeout problem with 64KiB s/g elements.

Problem caused by the fact that the code used to only pick the low 16
bits of the bytecount.  That may be how some controllers act on it (byte
count of 0 means 0x10000), but not for this particular hardware.

Signed-off-by: Jeremy Higdon <jeremy@sgi.com>
Acked-by: Jes Sorensen <jes@sgi.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/ide/pci/sgiioc4.c