ahci: work around ATI SB600 h/w quirk
authorJeff Garzik <jeff@garzik.org>
Thu, 28 Feb 2008 20:43:48 +0000 (15:43 -0500)
committerJeff Garzik <jeff@garzik.org>
Wed, 5 Mar 2008 12:53:06 +0000 (07:53 -0500)
This addresses the recent ATI SB600 errata, where the hardware does
not like 256-length PRD entries during FPDMA (aka NCQ).

It hurts performance on SB600, but it is more important to get a
correct patch eliminating the data corruption/lockups, and then later
on tune for performance.

We simply limit each command to a maximum of 255 sectors, on SB600.

Signed-off-by: Jeff Garzik <jgarzik@redhat.com>

No differences found