sata_mv: workaround errata SATA#13
authorMark Lord <liml@rtr.ca>
Mon, 6 Apr 2009 19:26:24 +0000 (15:26 -0400)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 7 Apr 2009 00:14:10 +0000 (20:14 -0400)
commit12f3b6d7551306c00cf834540a33184de67c9187
treea5de4682a13cf4d1640c15d13a7dccf9890319fa
parentba68460b8e019dfd9c73ab69f5ed163a8b24e296
sata_mv: workaround errata SATA#13

Add remainder of workaround for errata SATA#13.

This prevents writes of certain adjacent 32-bit registers
from being combined into single 64-bit writes, which might
fail for the affected registers.

Most of sata_mv is already safe from this issue,
but adding this code to mv_write_cached_reg() will
catch the remaining cases and hopefully prevent future ones.

Signed-off-by: Mark Lord <mlord@pobox.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/sata_mv.c