From: Mark Lord Date: Mon, 13 Apr 2009 15:29:34 +0000 (-0400) Subject: sata_mv: workaround for multi_count errata sata24 X-Git-Tag: v2.6.30-rc3~57^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=299b3f8df90a3f7416d8df121d8a42b1a2aeced4;p=pandora-kernel.git sata_mv: workaround for multi_count errata sata24 Workaround for errata SATA#24 in sata_mv. This errata affects WRITE_MULTI* commands when the device multi_count produces a DRQ block size >= 4Kbytes. We work around it here by converting such operations into ordinary PIO_WRITEs instead. Note that this might result in a PIO FUA write unavoidably being converted into a non-FUA write. In practice, any system using FUA is also going to be using DMA rather than PIO, so this shouldn't affect anyone in the real world. Signed-off-by: Mark Lord Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed